Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > CONTROL SET COLOR |
|
Description
Set the color of a control to a specific RGB foreground and background color.
Syntax
CONTROL SET COLOR hWnd, CtrlID, Foreground, Background
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
handle of the dialog |
CtrlID |
Number |
No |
ID of the control |
Foreground |
Number |
No |
Foreground new color. Indicate -1 to leave as is |
Background |
Number |
No |
Background new color. Indicate -1 to leave as is |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |