lnbColor: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 25: | Line 25: | ||
|p3= column: [[Number]] | |p3= column: [[Number]] | ||
|r1= | |r1= [[Color|Color (RGBA)]] | ||
|s2= control [[lnbColor]] [row, column] | |s2= control [[lnbColor]] [row, column] | ||
| Line 35: | Line 35: | ||
|p23= column: [[Number]] | |p23= column: [[Number]] | ||
|r2= | |r2= [[Color|Color (RGBA)]] | ||
|x1= <sqf>_ctrl lnbColor [0,0];</sqf> | |x1= <sqf>_ctrl lnbColor [0,0];</sqf> | ||
Latest revision as of 07:42, 2 January 2026
Description
- Description:
- Returns the text color of the item with the given position of the 2D listbox. The color is returned in format Color (RGBA).
- Groups:
- GUI Control - ListNBox
Syntax
- Syntax:
- lnbColor [idc, [row, column]]
- Parameters:
- idc: Number
- row: Number
- column: Number
- Return Value:
- Color (RGBA)
Alternative Syntax
- Syntax:
- control lnbColor [row, column]
- Parameters:
- control: Control
- row: Number
- column: Number
- Return Value:
- Color (RGBA)
Examples
- Example 1:
- _ctrl lnbColor [0,0];
Additional Information
- See also:
- lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note