lbIsSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
No edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check whether given row of the given listbox is selected. |DESCRIPTION=
| Checks whether or not given row of the given listbox is selected. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> control '''lbIsSelected''' index |SYNTAX=
| control '''lbIsSelected''' index |SYNTAX=


|p1= control: [[Control]] |PARAMETER1=
|p1= control: [[Control]] |PARAMETER1=

Revision as of 16:15, 30 August 2020

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

Description

Description:
Checks whether or not given row of the given listbox is selected.
Groups:
Uncategorised

Syntax

Syntax:
control lbIsSelected index
Parameters:
control: Control
index: Number
Return Value:
Boolean

Examples

Example 1:
_selected = _control lbIsSelected 0;

Additional Information

See also:
lbAddlbClearlbColorlbCurSellbDatalbDeletelbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbSortByValuelbTextlbValue

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

Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here

Bottom Section