ctrlShown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (template:command argument fix)
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CTRLSHOWN]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|CTRLSHOWN]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066"> '''ctrlShown ''control'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| [[Boolean]] <nowiki>=</nowiki> '''ctrlShown''' controlName|SYNTAX=


'''control:''' [[Control]]
|p1=  controlName: [[Control]] |PARAMETER1=


'''Type of returned value:'''
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_bool = [[ctrlShown]] _ctrl;</code> |EXAMPLE1=
____________________________________________________________________________________________


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


'''Compatibility:'''
}}


Version 2.50 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Returns whether given '''control''' is shown.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|CTRLSHOWN]]
'''Example:'''
[[Category:Scripting Commands ArmA|CTRLSHOWN]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
_ok = '''ctrlShown''' _control
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:37, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns whether given control is shown.
Groups:
Uncategorised

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