lbIsSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LBISSELECTED INDEX]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|LBISSELECTED INDEX]]
____________________________________________________________________________________________


| ofpr |= Game name


<h2 style="color:#000066"> '''''control'' lbIsSelected ''index'''''</h2>
|1.5|= Game version
____________________________________________________________________________________________


| Return picture name in item with given index of listbox or combobox with id idc of topmost user [[dialog]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''lbPicture index''' |= Syntax


'''control:''' [[Control]]
|p1= [idc, index]: [[Array]] |= Parameter 1


'''index''' [[Number]]
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_picture = lbPicture [101, 0]</pre> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
|  |= See also


[[Boolean]]
}}


'''Compatibility:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Version 2.91 required.
<!-- Note Section END -->
</dl>


'''Description:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LBISSELECTED INDEX]]
Check whether given row of the given listbox is selected.
[[Category:Scripting Commands ArmA|LBISSELECTED INDEX]]
 
 
'''Example:'''
 
_selected = _control '''lbIsSelected''' 0

Revision as of 00:43, 2 August 2006

Hover & click on the images for description

Description

Description:
Return picture name in item with given index of listbox or combobox with id idc of topmost user dialog.
Groups:
Uncategorised

Syntax

Syntax:
lbPicture index
Parameters:
[idc, index]: Array
Return Value:
String

Examples

Example 1:
_picture = lbPicture [101, 0]

Additional Information

See also:
See also needed

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

Bottom Section