lnbAddRow: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 37: | Line 37: | ||
|r2= [[Number]] - Row index | |r2= [[Number]] - Row index | ||
|x1= <code> | |x1= <code>lnbAddRow [1, ["COL1", "COL2"]];</code> | ||
|x2= <code>_ctrl | |x2= <code>_ctrl lnbAddRow ["COL1", "COL2"];</code> | ||
|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 11:10, 12 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