ctrlPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
Line 21: Line 21:




[[Category:Scripting Commands|CTRLPOSITION]]
 
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}

Revision as of 01:23, 5 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
controlName: Control
Return Value:
Return value needed

Examples

Example 1:
_pos = ctrlPosition _control;

Additional Information

See also:
See also needed

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
Posted on May 22, 2017 - 23:02 (UTC)
Lucian
If the ctrl is part of a CtrlGroup the returned position is relative to the ctrlGroups position.
Posted on November 7, 2020 - 01:23 (UTC)
Larrow
If the control is a ControlsTable header or row control the returned position is relative to the ControlsTable position.