lnbAddArray: 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 list of rows of strings. | | Adds list of rows of strings. | ||
| '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]] | | '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]] | ||
|p1= [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]: [[Array]] | |p1= [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]: [[Array]] | ||
|p2= idc: [[Number]] or [[Control]] | |p2= idc: [[Number]] or [[Control]] | ||
|p3 | |p3= | ||
| [[Number]] - index | | [[Number]] - index | ||
|x1= <code>[[lnbAddArray]] [102,[[["#1"],[1],["#1"]]]];</code> | |x1= <code>[[lnbAddArray]] [102,[[["#1"],[1],["#1"]]]];</code> | ||
| [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | | [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:59, 18 January 2021
Description
- Description:
- Adds list of rows of strings.
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbAddArray [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]
- Parameters:
- [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]: Array
- idc: Number or Control
- Return Value:
- Number - index
Examples
- Example 1:
lnbAddArray [102,[[["#1"],[1],["#1"]]]];
Additional Information
- See also:
- lnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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