lnbAddRow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 37: | Line 37: | ||
|r2= [[Number]] - Row index | |r2= [[Number]] - Row index | ||
|x1= < | |x1= <sqf>lnbAddRow [1, ["COL1", "COL2"]];</sqf> | ||
|x2= < | |x2= <sqf>_ctrl lnbAddRow ["COL1", "COL2"];</sqf> | ||
|seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]] | |seealso= [[lnbAddArray]] [[lnbAddColumn]] [[lnbClear]] [[lnbColor]] [[lnbCurSelRow]] [[lnbData]] [[lnbDeleteColumn]] [[lnbDeleteRow]] [[lnbGetColumnsPosition]] [[lnbPicture]] [[lnbSetColor]] [[lnbSetColumnsPos]] [[lnbSetCurSelRow]] [[lnbSetData]] [[lnbSetPicture]] [[lnbSetText]] [[lnbSetValue]] [[lnbSize]] [[lnbText]] [[lnbValue]] | ||
}} | }} |
Revision as of 10:24, 13 May 2022
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:
- lnbAddArray lnbAddColumn lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue
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