ctrlClassName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 85261 by Skaronator (talk) originally created at 1.26, how did you manage 1.31?)
m (1.29>>1.26 http://dev.arma3.com/post/spotrep-00030)
Line 4: Line 4:
| arma3 |= Game name
| arma3 |= Game name


|1.29|= Game version
|1.26|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:45, 13 December 2014

Hover & click on the images for description

Description

Description:
Returns the class name of a control as it defined in config.
Groups:
Uncategorised

Syntax

Syntax:
ctrlClassName control
Parameters:
control : Control
Return Value:
String - class name

Examples

Example 1:
List class names of all controls present on display 46:_ctrls = ""; for "_i" from -1 to 10000 do { with uiNamespace do { _ctrl = findDisplay 46 displayCtrl _i; if (!isNull _ctrl) then { _ctrls = _ctrls + format ["IDC: %1, Class Name: %2\n", _i, ctrlClassName _ctrl]; }; }; }; hint _ctrls;

Additional Information

See also:
ctrlCreatectrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp

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