lnbColorRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>_ = " to "<code>private _result = ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|p1= idc: [[Number]]
|p1= idc: [[Number]]


|p2= row: [[Number]] - Index of the row
|p2= row: [[Number]] - index of the row


|p3= column: [[Number]] - Index of the column
|p3= column: [[Number]] - index of the column


|r1= [[Array]] - RGBA
|r1= [[Array]] - RGBA
Line 22: Line 22:
|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]


|p22= row: [[Number]] - Index of the row
|p22= row: [[Number]] - index of the row


|p23= column: [[Number]] - Index of the column
|p23= column: [[Number]] - index of the column


|r2= [[Array]] - RGBA
|r2= [[Array]] - RGBA


|x1= <code>private _result = _control [[lnbColorRight]] [0, 0];</code>
|x1= <sqf>private _result = _control lnbColorRight [0, 0];</sqf>


|seealso= [[lnbSetColor]] [[lnbSetColorRight]] [[lnbColor]]
|seealso= [[lnbSetColor]] [[lnbSetColorRight]] [[lnbColor]]
}}
}}

Latest revision as of 15:33, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns the right color of given row.
Groups:
GUI Control - ListNBox

Syntax

Syntax:
lnbColorRight [idc, [row, column]]
Parameters:
idc: Number
row: Number - index of the row
column: Number - index of the column
Return Value:
Array - RGBA

Alternative Syntax

Syntax:
ctrl lnbColorRight [row, column]
Parameters:
ctrl: Control
row: Number - index of the row
column: Number - index of the column
Return Value:
Array - RGBA

Examples

Example 1:
private _result = _control lnbColorRight [0, 0];

Additional Information

See also:
lnbSetColor lnbSetColorRight lnbColor

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