lnbColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos")
(syntax & example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the text color of the item with the given position of the 2D listbox.
| Returns the text color of the item with the given position of the 2D listbox. The color is returned in format [[Color]]. |= Description
<br>
The color is returned in format [[Color]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lnbColor''' [idc,[row,column] |= Syntax
| [[lnbColor]] [idc([[Number]]),[row([[Number]]),column([[Number]])] ] |= Syntax


|p1= [idc,[row,column]: Array - |= PARAMETER1  
|p1= [idc([[Number]]),[row([[Number]]),column([[Number]])] ]: [[Array]] |= PARAMETER1  


|p2= |= PARAMETER2
| [[Array]] |= RETURNVALUE
 
____________________________________________________________________________________________
 
| s2= _ctrl([[Control]]) [[lnbColor]] [row([[Number]]),column([[Number]])] |= Syntax


|p3= |= PARAMETER3
| p21= [[lnbColor]] [row([[Number]]),column([[Number]])]: [[Array]]  |= PARAMETER1


| [[Array]] |= RETURNVALUE  
| r2= [[Array]] |= RETURNVALUE  


____________________________________________________________________________________________


|x1= <code>{{Example needed}}</code>|= Example 1
|x1= <code>_ctrl [[lnbColor]] [0,0];</code>|= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 36: Line 39:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Arma style syntax:
_ctrlTable lnbColor [_row, _col] // _ctrlTable of '''Control''' type
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 11:29, 9 September 2014

Hover & click on the images for description

Description

Description:
Returns the text color of the item with the given position of the 2D listbox. The color is returned in format Color.
Groups:
Uncategorised

Syntax

Syntax:
lnbColor [idc(Number),[row(Number),column(Number)] ]
Parameters:
[idc(Number),[row(Number),column(Number)] ]: Array
Return Value:
Array

Alternative Syntax

Syntax:
_ctrl(Control) lnbColor [row(Number),column(Number)]
Parameters:
lnbColor [row(Number),column(Number)]: Array
Return Value:
Array

Examples

Example 1:
_ctrl lnbColor [0,0];

Additional Information

See also:
lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColorlnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue

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

Notes

Bottom Section