ctrlStyle: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=") |
m (Text replacement - "|gr1= GUI Control |GROUP1= |arg= |Multiplayer Arguments ("local" or "global")= |eff= |Multiplayer Effects ("local" or "global")= |serverExec= |Multiplayer Execution ("server" or empty)= |gr1= GUI Control|GROUP1=" to "|arg=...) |
||
Line 4: | Line 4: | ||
|version= 2.01 |Game version= | |version= 2.01 |Game version= | ||
|arg= |Multiplayer Arguments ("local" or "global")= | |arg= |Multiplayer Arguments ("local" or "global")= |
Revision as of 21:04, 24 September 2020
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
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | CTRLSTYLE]][[ Category: arma3dev: Scripting Commands | CTRLSTYLE]]