ctrlScrollValues
Jump to navigation
Jump to search
Description
- Description:
- Returns current scrollbars values in range 0...1 (-1 if not applicable) for the following controls:
- CT_CONTROLS_TABLE
- CT_CONTROLS_GROUP
- CT_TREE
- CT_LISTBOX
- CT_COMBO
- CT_XCOMBO
- CT_LISTNBOX
- CT_LISTNBOX_CHECKABLE
- Groups:
- Uncategorised
Syntax
- Syntax:
- ctrlScrollValues control
- Parameters:
- control: Control
- Return Value:
- Array - in format [vScrollValue, hScrollValue]
Examples
- Example 1:
_scrollvalues = ctrlScrollValues _ctrl;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version 1.99]][[ Category: arma3dev: New Scripting Commands | CTRLSCROLLVALUES]][[ Category: arma3dev: Scripting Commands | CTRLSCROLLVALUES]]