lnbSetCurSelRow: Difference between revisions

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


| '''lnbSetCurSelRow''' [idc,index] |= Syntax
| [[lnbSetCurSelRow]] [idc ([[Number]]),index ([[Number]])] |= Syntax


|p1= [idc,index]: Array |= PARAMETER1  
|p1= [ [[Number]], [[Number]] ]: [[Array]] |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  
Line 21: Line 21:




|x1= <code>_lnb = ([[findDisplay]] 300) [[displayCtrl]] 304;
|x1= <code>[[disableSerialization]];
_lnb [[lnbSetCurSelRow]] 5;</code>|= Example 1
_ctrl = ([[findDisplay]] 300) [[displayCtrl]] 304;
_ctrl [[lnbSetCurSelRow]] 1;</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:24, 6 September 2014

Hover & click on the images for description

Description

Description:
Selects the row with the given index of the 2D listbox.
Groups:
Uncategorised

Syntax

Syntax:
lnbSetCurSelRow [idc (Number),index (Number)]
Parameters:
[ Number, Number ]: Array
Return Value:
Nothing

Examples

Example 1:
disableSerialization; _ctrl = (findDisplay 300) displayCtrl 304; _ctrl lnbSetCurSelRow 1;

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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