lnbAddArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 21: Line 21:
| Adds list of rows of strings.
| Adds list of rows of strings.


| '''lnbAddArray''' [idc, [[[text,text],[value,..],[data,..]],[[text,text],[value,..],[data,..]],]]
|s1=  '''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]]

Revision as of 23:15, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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