lnbAddColumn: Difference between revisions
Jump to navigation
Jump to search
m (format) |
(syntax & example) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | _ctrl [[lnbAddColumn]] position |= Syntax | ||
|p1= | |p1= _ctrl: [[Control]] |= PARAMETER1 | ||
|p2= position: [[Number]] | |p2= position: [[Number]] |= PARAMETER2 | ||
| [[Number]] |= RETURNVALUE | | [[Number]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
| s2= [[lnbAddColumn]] [idc([[Number]]),position([[Number]])] |= Syntax | |||
| | | p21= [idc([[Number]]),position([[Number]])]: [[Array]] |= Parameter 1 | ||
| r2= [[Number]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|= Example 1 | |||
|x2= <code>[[lnbAddColumn]] [105,0.8];</code>|= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:47, 9 September 2014
Description
- Description:
- Adds an item with the given text to the given listbox or combobox.
It returns the index of the newly added item. - Groups:
- Uncategorised
Syntax
- Syntax:
- _ctrl lnbAddColumn position
- Parameters:
- _ctrl: Control
- position: Number
- Return Value:
- Number
Alternative Syntax
- Syntax:
- lnbAddColumn [idc(Number),position(Number)]
- Parameters:
- [idc(Number),position(Number)]: Array
- Return Value:
- Number
Examples
- Example 1:
_ctrl lnbAddColumn 0.8;
- Example 2:
lnbAddColumn [105,0.8];
Additional Information
- See also:
- lnbAddArraylnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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