ctrlType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format, see also, description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns value representing type of control. |= Description
| Returns number representing the type of control, which is also defined by ''type'' property in config. For more information see [[Dialog Control]] |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''ctrlType''' controlName |= Syntax
| '''ctrlType''' control |= Syntax


|p1= controlName: [[Control]] |= Parameter 1
|p1= control: [[Control]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_type = ctrlType _control</pre> |= Example 1
|x1= <code>_type = [[ctrlType]] _rscEdit; // 2</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
|[[ctrlCreate]], [[Dialog Control]] |= See also


}}
}}

Revision as of 23:39, 18 March 2016

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

Description

Description:
Returns number representing the type of control, which is also defined by type property in config. For more information see Dialog Control
Groups:
Uncategorised

Syntax

Syntax:
ctrlType control
Parameters:
control: Control
Return Value:
Number

Examples

Example 1:
_type = ctrlType _rscEdit; // 2

Additional Information

See also:
ctrlCreateDialog Control

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