lnbAddRow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^= ]+) * +\|s2=" to " |r1=$1 |s2=")
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 a row of strings.
|descr= Adds a row of strings.


|s1=  [[lnbAddRow]] [idc, data]
|s1=  [[lnbAddRow]] [idc, data]

Revision as of 22:13, 13 June 2021

Hover & click on the images for description

Description

Description:
Adds a row of strings.
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