ctrlIDC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Undo revision 363812 by Nelis.75733126 (talk))
Tag: Undo
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= GUI Control
|gr1= GUI Control


| Returns control IDC.
|descr= Returns control IDC.


| '''ctrlIDC''' control
|s1= [[ctrlIDC]]  control


|p1= control: [[Control]]
|p1= control: [[Control]]


| [[Number]]
|r1= [[Number]]
 
 
|x1= <code>[[ctrlIDC]] _ctrl;</code>
 


| [[allControls]], [[allDisplays]], [[controlsGroupCtrl]], [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]], [[displayParent]]
|x1= <sqf>ctrlIDC _ctrl;</sqf>
|x2= <sqf>ctrlIDC controlNull; // returns -1</sqf>


|seealso= [[allControls]] [[allDisplays]] [[controlsGroupCtrl]] [[ctrlDelete]] [[ctrlModel]] [[ctrlSetModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]] [[displayParent]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 10:58, 16 May 2024

Hover & click on the images for description

Description

Description:
Returns control IDC.
Groups:
GUI Control

Syntax

Syntax:
ctrlIDC control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
ctrlIDC _ctrl;
Example 2:
ctrlIDC controlNull; // returns -1

Additional Information

See also:
allControls allDisplays controlsGroupCtrl ctrlDelete ctrlModel ctrlSetModel ctrlPosition ctrlSetPosition ctrlClassName ctrlModelScale ctrlSetModelScale ctrlModelDirAndUp ctrlSetModelDirAndUp displayParent

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