ctrlCreate: Difference between revisions
Jump to navigation
Jump to search
m (example format) |
Killzone Kid (talk | contribs) (returns control) |
||
Line 18: | Line 18: | ||
|p3= idc: [[Number]] - IDC of the new control |= PARAMETER3 | |p3= idc: [[Number]] - IDC of the new control |= PARAMETER3 | ||
| [[ | | [[Control]] |= RETURNVALUE | ||
|x1= <code> | |x1= <code>_display [[ctrlCreate]] ["RscText", 1234];</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 20:05, 31 July 2014
Description
- Description:
- Creates new control in given display.
- Groups:
- Uncategorised
Syntax
- Syntax:
- display ctrlCreate [class, idc]
- Parameters:
- display : Display
- class: String - Classname of the new control
- idc: Number - IDC of the new control
- Return Value:
- Control
Examples
- Example 1:
_display ctrlCreate ["RscText", 1234];
Additional Information
- See also:
- ctrlDelete
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