Download User Manual

Transcript
SetWindowColor
This function is used to set the color of the window.
Inputs
Variable
WindowName
Foreground
Background
Brush
Type
String
Integer
Integer
Integer
Description
The name of the window
Foreground color
Background color
Brush style
Type
Description
Outputs
Variable
None
Foreground/Background
This is the color selection. If the brush style is 'Solid' or 'Clear' the background color has not
effect. The color selection must be in the range of 2,147,483,646 .. 2,147,483,647
($7FFFFFFF-1 .. $7FFFFFFF). Some common colors are listed below. Use the 'color picker'
menu item in the script editor if required.
Brush
The brush must be one of the following values:
Solid = 0
Clear = 1
Horizontal = 2
Vertical = 3
FDiagonal = 4
BDiagonal = 5
Cross = 6
DiagCross = 7
Example
//setting window color to red
SetWindowColor('Main_Window',255,255,0);
Common colors Value
Black 0
Olive 32896
Teal 8421376
Red 255
Blue 16711680
LtGray 12632256
MoneyGreen 12639424
MedGray 10789024
WebLavenderBlush 16118015
WebCornSilk 14481663
WebWheat 11788021
WebLavender 16443110
Maroon 128
Navy 8388608
Gray 8421504
Lime 65280
Fuchsia 16711935
DkGray 8421504
SkyBlue 15780518
WebSnow 16448255
WebOldLace 15136253
WebBeige 14480885
WebAliceBlue 16775408
WebSeashell 15660543
Page 418
Green 32768
Purple 8388736
Silver 12632256
Yellow 65535
Aqua 16776960
White 16777215
Cream 15793151
WebFloralWhite 15792895
WebIvory 15794175
WebAntiqueWhite 14150650
WebGhostWhite 16775416
WebLightYellow 14745599