lbSetSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''''[[Control]]'' lbSetSelected ''[index, OnOff]''''' |= Syntax
| control '''lbSetSelected''' [index, selected] |= Syntax
|p1= [[Control]]
|p1= control: [[Control]] |= Parameter 1
|p2= index: [[Number]]
|p2= [index, selected]: [[Array]] |= Parameter 2
|p3= OnOff: [[Boolean]]
|p3= index: [[Number]] |= Parameter 3
|p4= selected: [[Boolean]] |= Parameter 4


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 19:13, 23 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set the selection state of the given row of the given listbox. Listbox must support multiple selection.
Groups:
Uncategorised

Syntax

Syntax:
control lbSetSelected [index, selected]
Parameters:
control: Control
[index, selected]: Array
index: Number
selected: Boolean
Return Value:
Nothing

Examples

Example 1:
_control lbSetSelection [0, true]

Additional Information

See also:
See also needed

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