ctrlShown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
____________________________________________________________________________________________


| Returns whether given control is shown. |DESCRIPTION=
| Returns whether given control is shown. |DESCRIPTION=
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''ctrlShown''' controlName|SYNTAX=
| [[Boolean]] <nowiki>=</nowiki> '''ctrlShown''' controlName|SYNTAX=
Line 17: Line 14:


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_bool = [[ctrlShown]] _ctrl;</code> |EXAMPLE1=
|x1= <code>_bool = [[ctrlShown]] _ctrl;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[ctrlShow]], [[ctrlVisible]] |SEEALSO=
| [[ctrlShow]], [[ctrlVisible]] |SEEALSO=

Revision as of 00:41, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns whether given control is shown.
Groups:
GUI Control

Syntax

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

Examples

Example 1:
_bool = ctrlShown _ctrl;

Additional Information

See also:
ctrlShowctrlVisible

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

Notes

Bottom Section