display ctrlCreate [class, idc, controlsGroup]

Operand types

display: Display
[class, idc, controlsGroup] :

Type of returned value

Description

Creates new control in given display.

display : Display
class: String - Existing classname (see ctrlCreate/classnames) of the new control (currently only configFile classes are supported)
idc: Number - IDC of the new control
controlsGroup: Control - (Optional) Since Arma 3 v1.33.127680, it is possible to create controls in existing controls groups.

Used In

Arma3

Example

_display ctrlCreate ["RscText", 1234];
Search OFPEC COMREF