ctrlCreate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(see also)
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlDelete]], [[ctrlSetDirection]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlModelDirection]], [[ctrlModelUp]], [[ctrlModelSide]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[ctrlModelScale]], [[ctrlSetModelScale]] |= SEEALSO  
| [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:02, 18 September 2014

Hover & click on the images for description

Description

Description:
Creates new control in given display.
Groups:
Uncategorised

Syntax

Syntax:
display ctrlCreate [class, idc]
Parameters:
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
Return Value:
Control

Examples

Example 1:
_display ctrlCreate ["RscText", 1234];
Example 2:
_map = findDisplay 46 ctrlCreate ["RscMapControl", -1];

Additional Information

See also:
ctrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlClassNamectrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp

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

Notes

Bottom Section