lnbAddColumn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
|gr1= GUI Control - ListNBox | |gr1= GUI Control - ListNBox | ||
| 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. | ||
| _ctrl [[lnbAddColumn]] position | | _ctrl [[lnbAddColumn]] position | ||
|p1= _ctrl: [[Control]] | |p1= _ctrl: [[Control]] | ||
|p2= position: [[Number]] | |p2= position: [[Number]] | ||
| [[Number]] or [[nil]] | | [[Number]] or [[nil]] | ||
| s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] | | s2= [[lnbAddColumn]] [idc([[Number]]) or [[Control]],position([[Number]])] | ||
|p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |PARAMETER21= | |p21= [idc([[Number]]) or [[Control]],position([[Number]])]: [[Array]] |PARAMETER21= | ||
| r2= [[Number]] or [[nil]] | | r2= [[Number]] or [[nil]] | ||
|x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code> | |x1= <code>_ctrl [[lnbAddColumn]] 0.8;</code> | ||
|x2= <code>[[lnbAddColumn]] [105,0.8];</code> | |x2= <code>[[lnbAddColumn]] [105,0.8];</code> | ||
| [[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]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:00, 18 January 2021
Description
- Description:
- Adds an column at given position. It returns the index of the newly added column.
- Groups:
- GUI Control - ListNBox
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.