ctrlSetForegroundColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 8: Line 8:
'''Operand types:'''
'''Operand types:'''


'''display'''': [[Display]]
'''display''': [[Control]]


'''color''': [[Array]]
'''color''': [[Array]]
Line 22: Line 22:
'''Description:'''
'''Description:'''


Sets background color of given control. Color is in format Color.
Sets background color of given control.
 
Color is in format [[Color]].
 


'''Example''':
'''Example''':
      
      
_control '''ctrlSetForegroundColor''' [1, 0, 0, 1]
_control '''ctrlSetForegroundColor''' [1, 0, 0, 1]

Revision as of 13:53, 6 July 2006


display ctrlSetForegroundColor color


Operand types:

display: Control

color: Array

Type of returned value:

Nothing

Compatibility:

Version 2.50 required.

Description:

Sets background color of given control.

Color is in format Color.


Example:

_control ctrlSetForegroundColor [1, 0, 0, 1]