ctrlIDC: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added example of how ctrlIDC can be used to check for controlNull)
m (Undo revision 363812 by Nelis.75733126 (talk))
Tag: Undo
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 11: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