lbIsSelected: Difference between revisions
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. |= | | Check whether given row of the given listbox is selected. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> control '''lbIsSelected''' index |= | | [[Boolean]] <nowiki>=</nowiki> control '''lbIsSelected''' index |SYNTAX= | ||
|p1= control: [[Control]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
|p2= index: [[Number]] |= | |p2= index: [[Number]] |PARAMETER2= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_selected = _control [[lbIsSelected]] 0;</code> |= | |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]] |= | | [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
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