lnbColorRight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1= GUI Control - ListNBox
|gr1= GUI Control - ListNBox


|descr= Returns the right color of given row.
|descr= Returns the right color of given row.


|s1= [[lnbColorRight]] [idc, [row, column]]
|s1= [[lnbColorRight]] [idc, [row, column]]
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>_color= _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 16: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