lnbAddArray: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= GUI Control - ListNBox |GROUP1= | |gr1= GUI Control - ListNBox |GROUP1= | ||
| Adds list of rows of strings. |DESCRIPTION= | | Adds list of rows of strings. |DESCRIPTION= | ||
| '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]] |SYNTAX= | | '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]] |SYNTAX= | ||
Line 23: | Line 20: | ||
|x1= <code>[[lnbAddArray]] [102,[[["#1"],[1],["#1"]]]];</code>|EXAMPLE1= | |x1= <code>[[lnbAddArray]] [102,[[["#1"],[1],["#1"]]]];</code>|EXAMPLE1= | ||
| [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO= | | [[lnbAddColumn]], [[lnbAddRow]], [[lnbClear]], [[lnbColor]], [[lnbCurSelRow]], [[lnbData]], [[lnbDeleteColumn]], [[lnbDeleteRow]], [[lnbGetColumnsPosition]], [[lnbPicture]], [[lnbSetColor]], [[lnbSetColumnsPos]], [[lnbSetCurSelRow]], [[lnbSetData]], [[lnbSetPicture]], [[lnbSetText]], [[lnbSetValue]], [[lnbSize]], [[lnbText]], [[lnbValue]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:52, 17 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