cbSetChecked

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.12
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.12

Description

Description:
Sets the current state of a checkbox (CT_CHECKBOX type 77 of Dialog Control).

Syntax

Syntax:
control cbSetChecked state
Parameters:
control : Control
state : Boolean
Return Value:
Nothing

Examples

Example 1:
_myCheckBox cbSetChecked true;
Example 2:
_disp = findDisplay 46 createDisplay "RscDisplayEmpty"; _chk = _disp ctrlCreate ["RscCheckBox", -1]; _chk cbSetChecked true;

Additional Information

Multiplayer:
-
See also:
cbCheckedctrlSetCheckedctrlChecked

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section