lbIsSelected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 30: | Line 30: | ||
|x1= <code>_selected = _control [[lbIsSelected]] 0;</code> | |x1= <code>_selected = _control [[lbIsSelected]] 0;</code> | ||
|seealso= [[lbAdd]] [[lbClear]] [[lbColor]] [[lbCurSel]] [[lbData]] [[lbDelete]] [[lbPicture]] [[lbSelection]] [[lbSetColor]] [[lbSetCurSel]] [[lbSetData]] [[lbSetPicture]] [[lbSetSelected]] [[lbSetTooltip]] [[lbSetValue]] [[lbSize]] | |seealso= [[lbAdd]] [[lbClear]] [[lbColor]] [[lbCurSel]] [[lbData]] [[lbDelete]] [[lbPicture]] [[lbSelection]] [[lbSetColor]] [[lbSetCurSel]] [[lbSetData]] [[lbSetPicture]] [[lbSetSelected]] [[lbSetTooltip]] [[lbSetValue]] [[lbSize]] [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] | ||
}} | }} | ||
Revision as of 18:18, 20 January 2022
Description
- Description:
- Checks whether or not given row of the given listbox is selected.
- Groups:
- GUI Control - ListBox
Syntax
- Syntax:
- control lbIsSelected index
- Parameters:
- control: Control
- index: Number
- Return Value:
- Boolean
Examples
- Example 1:
_selected = _control lbIsSelected 0;
Additional Information
- See also:
- lbAdd lbClear lbColor lbCurSel lbData lbDelete lbPicture lbSelection lbSetColor lbSetCurSel lbSetData lbSetPicture lbSetSelected lbSetTooltip lbSetValue lbSize lbSortlbSortByValuelbTextlbValue
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
- Posted: Sep 10 2014
- ffur2007slx2_5
- More information on the CT_LISTBOX command family can be found here.
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: GUI Control - ListBox