ctrlEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|1.5 " to "| ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 22: Line 22:
|s2= [[Boolean]] <nowiki>=</nowiki> '''ctrlEnabled''' controlName
|s2= [[Boolean]] <nowiki>=</nowiki> '''ctrlEnabled''' controlName


|p21=  controlName: [[Control]] |PARAMETER21=
|p21=  controlName: [[Control]]


|r2= [[Boolean]] |RETURNVALUE2=    
|r2= [[Boolean]] |RETURNVALUE2=    

Revision as of 19:14, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number - control ID
Return Value:
Return value needed

Alternative Syntax

Syntax:
Boolean = ctrlEnabled controlName
Parameters:
controlName: Control
Return Value:
Boolean

Examples

Example 1:
if (!(ctrlEnabled 100)) then
{
  ctrlEnable [100, true]
};
Example 2:
_enabled = ctrlEnabled _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