[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A control that allows the user to scroll the content of an associated control by moving an slider.
Source position: stdctrls.pp line 119
type TScrollBar = class(TCustomScrollBar) end; |
||
published |
||
|
Specifies the placement of the control inside its Parent. |
|
|
The set of anchor definitions for this control. |
|
property BidiMode: TBiDiMode; |
|
Customization (of text controls) in bidirectional reading environments. |
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property Constraints: TSizeConstraints; |
|
The minimal and maximal Width and Height of this control. |
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
The operation when the control is dragged - Drag or Dock. |
|
|
Allows the user to drag the control. |
|
property Enabled: Boolean; |
|
Determines whether the control reacts on mouse or keyboard input. |
property Kind: TScrollBarKind; |
|
The scrollbar orientation, horizontal or vertical. |
property LargeChange: TScrollBarInc; |
|
The distance to scroll on an click beneath the slider. |
property Max: Integer; |
|
The maximum value, for the bottom or rightmost position. |
property Min: Integer; |
|
The minimum value, for the top or leftmost position. |
property PageSize: Integer; |
|
The size of the slider, relative to the total scroll range. |
property ParentBidiMode: Boolean; |
|
Allows to use the BiDiMode settings of Parent. Default is true. |
property ParentShowHint: Boolean; |
|
If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true. |
property PopupMenu: TPopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control |
property Position: Integer; |
|
The position value of the slider in the ScrollBar. |
property ShowHint: Boolean; |
|
Enables the Hint display. |
property SmallChange: TScrollBarInc; |
|
The distance to scroll on an click on the up/down buttons. |
|
Determines the sequence of controls, reachable when the user presses the Tab key. |
|
property TabStop: Boolean; |
|
Allows the user to navigate to this control, by pressing the Tab key. |
property Visible: Boolean; |
|
Allows to show or hide the control, and all of its children. |
property OnChange: TNotifyEvent; |
|
Event handler for any change of the Position. |
property OnContextPopup: TContextPopupEvent; |
|
Invoked when a context-sensitive pop-up menu is requested. |
property OnDragDrop: TDragDropEvent; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver: TDragOverEvent; |
|
Event handler for a control being dragged over this control. |
property OnEndDrag: TEndDragEvent; |
|
Notification handler for the end of a dragging operation. |
property OnEnter: TNotifyEvent; |
|
Handler for control receiving the focus. |
property OnExit: TNotifyEvent; |
|
Handler for control loosing the focus. This is a good place for checking the finished user input. |
|
Handler for keyboard key pressed. |
|
property OnKeyPress: TKeyPressEvent; |
|
Handler for a character entered by the user. |
|
Handler for keyboard key released. |
|
property OnScroll: TScrollEvent; |
|
Handler for a scrolling event by mouse, keyboard or code. |
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property OnUTF8KeyPress: TUTF8KeyPressEvent; |
|
Handler for a character entered by the user. |
|
A control that allows the user to scroll the content of an associated control by moving an slider. |
|
| | ||
|
The base class for TScrollBar. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
A control that allows the user to scroll the content of a window, by moving an slider.
It appears as a long rectangular track bar, within which a smaller contrasting block or slider can move up and down (or from side to side in a horizontal ScrollBar).
It has small triangular indicators or pointers on one or both ends of the bar, depending on the widgetset. Clicking with the mouse on one of the pointers moves the slider a small distance (SmallChange) in the specified direction.
Clicking with the mouse in the blank area of the scrollbar above or below the slider makes the slider move by a larger increment (LargeChange).
The slider can also be moved by clicking on it with the mouse, and holding down the button while moving the mouse. The slider then follows the mouse until the button is released.
If the mouse has a scrollwheel, the slider also can be moved by rotating the wheel.
The arrow keys or the Page Up/Page Down keys on the keyboard can be used to move the slider, too.
The location of the slider along the track is held in the Position property. It's the programmer's responsibility to ensure that the content of the window is scrolled to the new Position of the scrollbar.
|
Event handler for any change of the Position. |
|
|
How to use StdCtrls, ComCtrls or ExtCtrls |
lazarus-ccr.sourceforge.net |