lnbAddRow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \| *([^= ]+) * +\|s2=" to " |r1=$1 |s2=")
Line 27: Line 27:
|p2= data: [[Array]] of [[String]]s
|p2= data: [[Array]] of [[String]]s


| [[Number]] - Row index
|r1= [[Number]] - Row index


|s2= ctrl [[lnbAddRow]] data
|s2= ctrl [[lnbAddRow]] data

Revision as of 01:19, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbAddRow [idc, data]
Parameters:
idc: Number
data: Array of Strings
Return Value:
Number - Row index

Alternative Syntax

Syntax:
ctrl lnbAddRow data
Parameters:
ctrl: Control
data: Array of Strings
Return Value:
Number - Row index

Examples

Example 1:
lnbAddRow [1, ["COL1", "COL2"]];
Example 2:
_ctrl lnbAddRow ["COL1", "COL2"];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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