lbIsSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Check whether given row of the given listbox is selected. |= Description
| Check whether given row of the given listbox is selected. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p2= index: [[Number]] |= Parameter 2
|p2= index: [[Number]] |PARAMETER2=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_selected = _control [[lbIsSelected]] 0;</code> |= Example 1
|x1= <code>_selected = _control [[lbIsSelected]] 0;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= See also
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO=


}}
}}

Revision as of 15:42, 7 April 2019

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

Description

Description:
Check whether given row of the given listbox is selected.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = 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