Page MenuHomeFeedback Tracker

[Feature Request] Control Scroll related commands (ctrlSetScrollW, ctrlSetScrollH, ctrlScrollW, ctrlScrollH)
New, NormalPublic

Description

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 1ctrlSetScrollW [_idc, _scroll], ctrlSetScrollH [_idc _scroll]
Parameters_idc - <NUMBER> Scrollable Control's IDC
_scroll - <NUMBER> Scroll position - 0 = left/top, 1 = right/bottom
Return ValueNothing
Syntax 2_control ctrlSetScrollW _scroll, _control ctrlSetScrollH _scroll
Parameters_control - <CONTROL> Scrollable Control
_scroll - <NUMBER> Scroll position - 0 = left/top, 1 = right/bottom
Return ValueNothing

Description

Returns the scroll position of a scrollable control (ControlsGroup, ControlsTable, ListBox, ...).

Proposed Syntaxes

Syntax 1ctrlScrollW _idc, ctrlScrollH _idc]
Parameters_idc - <NUMBER> Scrollable Control's IDC
Return ValueNumber - Scroll position
Syntax 2ctrlScrollW _control , ctrlScrollH _control
Parameters_control - <CONTROL> Scrollable Control
Return ValueNumber - Scroll position

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Scripting

Event Timeline

heyoxe created this task.Jun 13 2020, 3:00 PM
heyoxe renamed this task from [Feature Request] ctrlSetScrollW and ctrlSetScrollH for setting scroll position of a control to [Feature Request] Control Scroll related commands (ctrlSetScrollW, ctrlSetScrollH, ctrlScrollW, ctrlScrollH) .Jun 13 2020, 10:56 PM
heyoxe updated the task description. (Show Details)