lnbAddColumn: Difference between revisions
Jump to navigation
Jump to search
m (al & el) |
m (template:command argument fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Adds an column at given position. It returns the index of the newly added column. |= | | Adds an column at given position. It returns the index of the newly added column. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| _ctrl [[lnbAddColumn]] position |= | | _ctrl [[lnbAddColumn]] position |SYNTAX= | ||
|p1= _ctrl: [[Control]] |= | |p1= _ctrl: [[Control]] |PARAMETER1= | ||
|p2= position: [[Number]] |= | |p2= position: [[Number]] |PARAMETER2= | ||
| [[Number]] or [[nil]] |= | | [[Number]] or [[nil]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |= | | s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] |SYNTAX= | ||
| p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |= | | p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |PARAMETER1= | ||
| r2= [[Number]] or [[nil]] |= | | r2= [[Number]] or [[nil]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|= | |x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code>|EXAMPLE1= | ||
|x2= <code>[[lnbAddColumn]] [105,0.8];</code>|= | |x2= <code>[[lnbAddColumn]] [105,0.8];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lnbAddArray]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |= | | [[lnbAddArray]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 15:42, 7 April 2019
Description
- Description:
- Adds an column at given position. It returns the index of the newly added column.
- Groups:
- Uncategorised
Syntax
- Syntax:
- _ctrl lnbAddColumn position
- Parameters:
- _ctrl: Control
- position: Number
- Return Value:
- Number or nil
Alternative Syntax
- Syntax:
- lnbAddColumn [idc(Number) or Control,position(Number)]
- Parameters:
- [idc(Number) or Control,position(Number)]: Array
- Return Value:
- Number or nil
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
Notes
- Posted: Sep 9 2014
- ffur2007slx2_5
- (A3 1.28) Horizontal coordinates of columns were added relative to list width, in range from 0 to 1.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: GUI Control