lnbAddArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
m (Text replacement - " <h3 style='display:none'>Bottom Section</h3>" to "")
Line 31: Line 31:
</dl>
</dl>


<h3 style='display:none'>Bottom Section</h3>


{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}

Revision as of 15:27, 18 January 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