lnbSetColor: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Text replacement - "lnbsetColumnsPos" to "lnbSetColumnsPos") |
(syntax & example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets the color of the item with the given position of the 2D listbox. | | Sets the color of the item with the given position of the 2D listbox. Color is in format [[Color]]. |= Description | ||
Color is in format [[Color]]. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[lnbSetColor]] [idc,[row,column],color] |= Syntax | ||
|p1= [idc,[row,column],color]: Array | | p1= [idc,[row,column],color]: [[Array]] |= PARAMETER1 | ||
| | | [[Nothing]] |= RETURNVALUE | ||
____________________________________________________________________________________________ | |||
| | | s2= _ctrl [[lnbSetColor]] [ [row,column],color] |= Syntax | ||
| p21= _ctrl: [[Control]] |= PARAMETER1 | |||
| p22= [ [row,column],color]: [[Array]] |= PARAMETER1 | |||
| r2= [[Nothing]] |= RETURNVALUE | |||
____________________________________________________________________________________________ | |||
|x1= |= Example 1 | |x1= <code>_ctrl [[lnbSetColor]] [ [0,0], [1,0,0,1] ];</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 35: | Line 40: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 12:53, 9 September 2014
Description
- Description:
- Sets the color of the item with the given position of the 2D listbox. Color is in format Color.
- Groups:
- Uncategorised
Syntax
- Syntax:
- lnbSetColor [idc,[row,column],color]
- Parameters:
- [idc,[row,column],color]: Array
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- _ctrl lnbSetColor [ [row,column],color]
- Parameters:
- _ctrl: Control
- [ [row,column],color]: Array
- Return Value:
- Nothing
Examples
- Example 1:
_ctrl lnbSetColor [ [0,0], [1,0,0,1] ];
Additional Information
- See also:
- lnbAddArraylnbAddColumnlnbAddRowlnbClearlnbColorlnbCurSelRowlnbDatalnbDeleteColumnlnbDeleteRowlnbGetColumnsPositionlnbPicturelnbSetColumnsPoslnbSetCurSelRowlnbSetDatalnbSetPicturelnbSetTextlnbSetValuelnbSizelnbTextlnbValue
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