lnbSetCurSelRow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 17: Line 17:
| Selects the row with the given index of the 2D listbox.
| Selects the row with the given index of the 2D listbox.


| [[lnbSetCurSelRow]] [idc, index]
|s1=  [[lnbSetCurSelRow]] [idc, index]


|p1= idc: [[Number]]
|p1= idc: [[Number]]

Revision as of 00:12, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListNBox

Syntax

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

Alternative Syntax

Syntax:
ctrl lnbSetCurSelRow index
Parameters:
ctrl: Control
index: Number
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