ctrlStyle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|pr= " to "")
m (Text replacement - "|mp= " to "")
Line 13: Line 13:


|descr= Returns the provided control's style. See {{HashLink|Arma: GUI Configuration#Control Styles}}.
|descr= Returns the provided control's style. See {{HashLink|Arma: GUI Configuration#Control Styles}}.
|mp=


|s1= [[ctrlStyle]] control
|s1= [[ctrlStyle]] control

Revision as of 20:59, 21 May 2021

Hover & click on the images for description

Description

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

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

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