Benargee/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Hello World
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name


|9000|= Game version
____________________________________________________________________________________________


| Creates new control in given display. |= Description
____________________________________________________________________________________________


| display '''ctrlCreate''' [class, idc] |= Syntax


|p1= display : [[Display]]  |= PARAMETER1
|p2= class: [[String]] - Existing classname (see [[ctrlCreate/classnames]]) of the new control (currently only [[configFile]] classes are supported) |= PARAMETER2
|p3= idc: [[Number]] - IDC of the new control  |= PARAMETER3
| [[Control]] |= RETURNVALUE
|x1= <code>_display [[ctrlCreate]] ["RscText", 1234];</code>|= EXAMPLE1
|x2= <code>_map = [[findDisplay]] 46 [[ctrlCreate]] ["RscMapControl", -1];</code>|= EXAMPLE2
____________________________________________________________________________________________
| [[ctrlDelete]], [[ctrlModel]], [[ctrlSetModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]] |= SEEALSO
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>






[[Category:Sandbox]][[Category:Benargee]]
[[Category:Sandbox]][[Category:Benargee]]

Revision as of 06:20, 19 September 2014

-wrong parameter ("Arma") defined!-9000
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