ctrlShow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|Parameter[0-9]{1,}= * " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 37: Line 37:
|x2= <code>_control [[ctrlShow]] [[false]];</code>
|x2= <code>_control [[ctrlShow]] [[false]];</code>


| [[ctrlVisible]], [[ctrlShown]], [[ctrlEnable]]
|seealso= [[ctrlVisible]], [[ctrlShown]], [[ctrlEnable]]
}}
}}



Revision as of 23:28, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
[idc, show]: Array
idc: Number - control ID
show: Boolean - true if the control should be shown, false if not
Return Value:
Return value needed

Alternative Syntax

Syntax:
controlName ctrlShow show
Parameters:
controlName: Control
show: Boolean
Return Value:
Nothing

Examples

Example 1:
ctrlShow [100, false];
Example 2:
_control ctrlShow false;

Additional Information

See also:
ctrlVisiblectrlShownctrlEnable

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