lbColor: 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|LBCOLOR]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LBCOLOR]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LBCOLOR]]


| ofpr |= Game name


<h2 style="color:#000066"> '''lbColor [''idc'', ''index'']'''</h2>
|1.5|= Game version
____________________________________________________________________________________________


| Return text colour of item with given index of listbox or combobox with id idc of topmost user [[dialog]]. Colour is in format [[Color]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''lbColor''' |= Syntax


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


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_colour = lbColor [101, 0]</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Compatibility:'''
}}


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


'''Description:'''
<!-- Note Section END -->
</dl>


Return text colour of item with given '''index''' of listbox or combobox with id '''idc''' of topmost user [[dialog]].
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LBCOLOR]]
Colour is in format [[Color]].
[[Category:Scripting Commands OFP 1.96|LBCOLOR]]
 
[[Category:Scripting Commands ArmA|LBCOLOR]]
 
'''Example:'''
 
_colour = '''lbColor''' [101, 0]

Revision as of 00:40, 2 August 2006

Hover & click on the images for description

Description

Description:
Return text colour of item with given index of listbox or combobox with id idc of topmost user dialog. Colour is in format Color.
Groups:
Uncategorised

Syntax

Syntax:
lbColor
Parameters:
[idc, index]: Array
Return Value:
Array

Examples

Example 1:
_colour = lbColor [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