lbColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|1.5 " to "| ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 24: Line 24:
|s2= control '''lbColor''' index
|s2= control '''lbColor''' index


|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]]
|p22= index: [[Number]] |PARAMETER22=
|p22= index: [[Number]]
|r2= [[Array]] - format [[Color|Color (RGBA)]]
|r2= [[Array]] - format [[Color|Color (RGBA)]]
   
   

Revision as of 18:10, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListBox

Syntax

Syntax:
Syntax needed
Parameters:
[idc, index]: Array
idc: Number of control
index: Number
Return Value:
Return value needed

Alternative Syntax

Syntax:
control lbColor index
Parameters:
control: Control
index: Number
Return Value:
Array - format Color (RGBA)

Examples

Example 1:
_colour = lbColor [101, 0];
Example 2:
_color = _control lbColor 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
Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found here