lbIsSelected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= GUI Control - ListBox |GROUP1= | |gr1= GUI Control - ListBox |GROUP1= | ||
| Checks whether or not given row of the given listbox is selected. |DESCRIPTION= | | Checks whether or not given row of the given listbox is selected. |DESCRIPTION= | ||
| control '''lbIsSelected''' index |SYNTAX= | | control '''lbIsSelected''' index |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>_selected = _control [[lbIsSelected]] 0;</code> |EXAMPLE1= | |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]] |SEEALSO= | | [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO= |
Revision as of 01:58, 17 January 2021
Description
- Description:
- Checks whether or not given row of the given listbox is selected.
- Groups:
- GUI Control - ListBox
Syntax
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