lnbAddRow: 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 a row of strings. | | Adds a row of strings. | ||
| [[lnbAddRow]] [idc, data] | | [[lnbAddRow]] [idc, data] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= data: [[Array]] of [[String]]s | |p2= data: [[Array]] of [[String]]s | ||
| [[Number]] - Row index | | [[Number]] - Row index | ||
|s2= ctrl [[lnbAddRow]] data | |s2= ctrl [[lnbAddRow]] data | ||
|p21= ctrl: [[Control]] |PARAMETER21= | |p21= ctrl: [[Control]] |PARAMETER21= | ||
Line 27: | Line 27: | ||
| p22= data: [[Array]] of [[String]]s |PARAMETER22= | | p22= data: [[Array]] of [[String]]s |PARAMETER22= | ||
|r2= [[Number]] - Row index | |r2= [[Number]] - Row index | ||
|x1= <code>[[lnbAddRow]] [1, ["COL1", "COL2"]];</code> | |x1= <code>[[lnbAddRow]] [1, ["COL1", "COL2"]];</code> | ||
|x2= <code>_ctrl [[lnbAddRow]] ["COL1", "COL2"];</code> | |x2= <code>_ctrl [[lnbAddRow]] ["COL1", "COL2"];</code> | ||
| [[lnbAddArray]], [[lnbAddColumn]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | | [[lnbAddArray]], [[lnbAddColumn]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:03, 18 January 2021
Description
- Description:
- Adds a row of strings.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbAddRow [idc, data]
- Parameters:
- idc: Number
- data: Array of Strings
- Return Value:
- Number - Row index
Alternative Syntax
- Syntax:
- ctrl lnbAddRow data
- Parameters:
- ctrl: Control
- data: Array of Strings
- Return Value:
- Number - Row index
Examples
Additional Information
- See also:
- lnbAddArraylnbAddColumnlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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