[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomScrollBar : the base class for TScrollBar
Source position: stdctrls.pp line 70
type TCustomScrollBar = class(TWinControl) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
class function GetControlClassDefaultSize; override; |
||
protected |
||
procedure CreateParams(); override; |
|
CreateParams - calls inherited CreateParams then sets up style and alignment depending on whether horizontal or vertical |
procedure CreateWnd; override; |
|
CreateWnd - calls inherited CreateWnd then initialises various Scroll Info properties |
procedure Change; virtual; |
|
Change - method to signal that a change has occured |
procedure Scroll(); virtual; |
|
The scrolling process |
procedure CalculatePreferredSize(); override; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomScrollBar: calls inherited Create then initialises size, style and various local variables |
procedure SetParams(); |
|
Defines the Max and Min values, the size of the page and the position of the scroller |
property Kind: TScrollBarKind; [rw] |
|
Kind of scroll bar - whether Horizontal or Vertical |
property LargeChange: TScrollBarInc; [rw] |
|
LargeChange - the size of the step to be taken by the slider for a large change |
|
The maximum value (for bottom of the scroll bar or the right-most extent) |
|
|
The minimum value, for the top of the scroll bar or its left-most extent |
|
|
PageSize: the size of a page - typically used for LargeChange |
|
|
The Position of the scroller along the ScrollBar |
|
property SmallChange: TScrollBarInc; [rw] |
|
SmallChange - the size of the step to be taken by the scroller for a small change |
property TabStop; |
|
Is the control in the sequence of controls accessed by successive presses of the Tab key? |
property OnChange: TNotifyEvent; [rw] |
|
OnChange - Event handler for any change in position of the slider or other mouse movement or keyboard event associated with the scrollbar |
property OnScroll: TScrollEvent; [rw] |
|
OnScroll - Handler for a scrolling event (by mouse, keyboard or program) |
end; |
|
TCustomScrollBar : the base class for TScrollBar |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |