ctrlClassName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
Line 14: Line 14:
|p1= control : [[Control]]
|p1= control : [[Control]]


| [[String]] - class name
|r1= [[String]] - class name


|x1= List class names of all controls present on display 46:<code>_return = [] ;
|x1= List class names of all controls present on display 46:<code>_return = [] ;

Revision as of 14:35, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

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

Examples

Example 1:
List class names of all controls present on display 46:_return = [] ; { _return pushBack format ["IDC: %1, className: %2", ctrlIDC _x, ctrlClassName _x]; } forEach (allControls (findDisplay 46)); copyToClipboard (_return joinString endl);

Additional Information

See also:
ctrlIDCctrlIDDctrlTypectrlCreatectrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp

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