ctrlScrollValues: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns current scrollbars | | Returns scroll values for current scrollbars in range 0...1 (-1 if not applicable) for the following controls: | ||
* <tt>CT_CONTROLS_TABLE</tt> | * <tt>CT_CONTROLS_TABLE</tt> |
Revision as of 19:17, 8 July 2020
Description
- Description:
- Returns scroll values for current scrollbars 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]]