[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the position for the specified scroll bar.
Source position: grids.pas line 1108
protected function TCustomGrid.GetScrollBarPosition( |
Which: Integer |
):Integer; |
Which |
|
Indicates the scroll bar (horizontal or vertical) examined in the method. |
Current position in the specified scroll bar.
GetScrollBarPosition is an Integer function used to get the position for the scroll bar specified in Which. GetScrollBarPosition calls the GetScrollInfo routine in the LCL interface to get the TScrollInfo structure with the position for the scroll bar in Which.
The return value contain the position from the TScrollInfo structure. The return value is 0 (zero) if the Handle for the grid control has not been allocated.
|
Returns all or selected information about a Scroll Bar. |
|
|
The Scrollbar properties parameter record. |
Version 4.0 | Generated 2025-05-03 | Home |