ctrlVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns if a control of the currently active user dialog is shown or not. Read [[Dialog Control]] for more information about user dialogs and controls. |= Description
| Returns if a control of the currently active user dialog is shown or not. Read [[Dialog Control]] for more information about user dialogs and controls. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''ctrlVisible''' idc |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''ctrlVisible''' idc |SYNTAX=


|p1= idc: [[Number]] - control ID |= Parameter 1
|p1= idc: [[Number]] - control ID |PARAMETER1=


| [[Boolean]] - true if the control is shown, false if not |= Return value
| [[Boolean]] - true if the control is shown, false if not |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_bool = [[ctrlVisible]] 100;</code> |= Example 1
|x1= <code>_bool = [[ctrlVisible]] 100;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlShow]], [[ctrlShown]] |= See also
| [[ctrlShow]], [[ctrlShown]] |SEEALSO=


}}
}}

Revision as of 14:37, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns if a control of the currently active user dialog is shown or not. Read Dialog Control for more information about user dialogs and controls.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = ctrlVisible idc
Parameters:
idc: Number - control ID
Return Value:
Boolean - true if the control is shown, false if not

Examples

Example 1:
_bool = ctrlVisible 100;

Additional Information

See also:
ctrlShowctrlShown

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