ctrlClassName: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ") |
||
Line 5: | Line 5: | ||
|1.26|Game version= | |1.26|Game version= | ||
|gr1= GUI Control |GROUP1= | |||
|gr1= GUI Control |=GROUP1 | |gr1= GUI Control |=GROUP1 |
Revision as of 11:08, 18 September 2020
Description
- Description:
- Returns the class name of a Control as it is defined in config. If you need config class of a game created Display, it is stored on display itself:
_className = findDisplay 12 getVariable ["BIS_fnc_initDisplay_configClass", ""]; // "RscDiary"
- Groups:
- GUI Control
Syntax
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