lnbAddArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 19: Line 19:
|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


| Adds list of rows of strings.
|descr= Adds list of rows of strings.


|s1=  '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]
|s1=  '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]

Revision as of 22:12, 13 June 2021

Hover & click on the images for description

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