JVCL Help:TJvCustomScrollPanel.OnScrolling

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the user tries to scroll the scrolling panel by pressing a scroll button.


Pascal

 TJvScrollingEvent = procedure (Sender: TObject; var AllowChange: Boolean; Kind: TJvScrollKind) ofobject;
propertyOnScrolling: TJvScrollingEvent;


Parameters

Parameters Description
Kind Specifies the kind of scroll.
AllowChange Indicates whether the scroll should be permitted.
Sender The scrolling panel control the user tries to scroll.


Description

Write an OnScrolling event handler to conditionally prevent the user from scrolling the scrolling panel. Set AllowChange to False to disallow any scrolling of the scrolling panel.


See Also

TJvCustomScrollPanel.OnScrolled, TJvCustomScrollPanel.ScrollAmount


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page