ctrlType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format, see also, description)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns number representing the type of control, which is also defined by ''type'' property in config. For more information see [[Dialog 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''ctrlType''' control |= Syntax
| '''ctrlType''' control |SYNTAX=


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


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


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


}}
}}

Revision as of 15:37, 7 April 2019

-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