lnbAddRow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos")
m (page modified & example)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lnbAddRow''' <tt>[IDC,[text,text,...]]</tt> |= Syntax
| [[lnbAddRow]] [IDC,[ [[String]] ]] |= Syntax


|p1= [idc,[text,text,...]]: Array - |= PARAMETER1  
|p1= [IDC,[ [[String]] ]]: [[Array]] |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= [ [[String]] ]: [[Array]] |= PARAMETER2  


|p3= |= PARAMETER3
| [[Number]] |= RETURNVALUE


| [[Number]] |= RETURNVALUE


|x1= <code>[[lnbAddRow]] [1,["ROW1"]];</code>|= Example 1


|x1= <code>{{Example needed}}</code>|= Example 1
|x2= <code>_ctrl [[lnbAddRow]] ["ROW1"];</code>|= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 33: Line 33:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Alternative (arma style) syntax:<code>// _dspl of Display type, _idc of Number type
_ctrlTable = _dspl displayCtrl _idc;
_ctrlTable lnbAddRow ["row 1, col 1", "row 1, col 2"];
_ctrlTable lnbAddRow ["row 2, col 1", "row 2, col 2"];
</code>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 14:44, 6 September 2014

Hover & click on the images for description

Description

Description:
Adds an row of strings.
Groups:
Uncategorised

Syntax

Syntax:
lnbAddRow [IDC,[ String ]]
Parameters:
[IDC,[ String ]]: Array
[ String ]: Array
Return Value:
Number

Examples

Example 1:
lnbAddRow [1,["ROW1"]];
Example 2:
_ctrl lnbAddRow ["ROW1"];

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

Notes

Bottom Section