lbSetColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LBSETCOLOR]]
[[Category:Scripting Commands|LBSETCOLOR]]
[[Category:Scripting Commands OFP 1.97|LBSETCOLOR]]
[[Category:Scripting Commands OFP 1.96|LBSETCOLOR]]
[[Category:Scripting Commands ArmA|LBSETCOLOR]]
[[Category:Scripting Commands ArmA|LBSETCOLOR]]



Revision as of 21:47, 1 June 2006


lbSetColor [idc, index, color]


Operand types:

[idc, index, color]: Array

Type of returned value:

Nothing

Compatibility:

Added in version 1.50

Description:

Set colour of item with given index of listbox or combobox with id idc of topmost user dialog to color.

Colour is in format Color.


Example:

lbSetColor [101, 0, [0, 1, 0, 0.5]]