There is currently to simple way to set or get the vertical or horizontal scroll of a control (that is scrollable). The set command would work like and ctrlSetXXX and should be commited to work. The get command should work like any other similar control command.
Description
Set the scroll position of a scrollable control (ControlsGroup, ControlsTable, ListBox, ...). ctrlCommit is required to complete the operation.
Proposed Syntaxes
Syntax 1 | ctrlSetScrollW [_idc, _scroll], ctrlSetScrollH [_idc _scroll] |
Parameters | _idc - <NUMBER> Scrollable Control's IDC |
_scroll - <NUMBER> Scroll position - 0 = left/top, 1 = right/bottom | |
Return Value | Nothing |
Syntax 2 | _control ctrlSetScrollW _scroll, _control ctrlSetScrollH _scroll |
Parameters | _control - <CONTROL> Scrollable Control |
_scroll - <NUMBER> Scroll position - 0 = left/top, 1 = right/bottom | |
Return Value | Nothing |
Description
Returns the scroll position of a scrollable control (ControlsGroup, ControlsTable, ListBox, ...).
Proposed Syntaxes
Syntax 1 | ctrlScrollW _idc, ctrlScrollH _idc] |
Parameters | _idc - <NUMBER> Scrollable Control's IDC |
Return Value | Number - Scroll position |
Syntax 2 | ctrlScrollW _control , ctrlScrollH _control |
Parameters | _control - <CONTROL> Scrollable Control |
Return Value | Number - Scroll position |