ctrlStyle

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 2.012.01DEV BRANCH ONLY ⚠
Hover & click on the images for descriptions

Description

Description:
Returns the provided control's style. See Arma: GUI Configuration - Control Styles.

Syntax

Syntax:
ctrlStyle control
Parameters:
control
Return Value:
Number - see Arma: GUI Configuration - Control Styles

Examples

Example 1:
private _ctrlStyle = ctrlStyle _myControl; private _bitFlags = _ctrlStyle call BIS_fnc_bitflagsToArray; if (2 in _bitFlags) then { hint "This control has centered text!"; };

Additional Information

See also:
ctrlType BIS_fnc_bitflagsToArray
Groups:
GUI Control

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section