Overview
Previous
Next
A
ColorEx object allows you to use transparent / semitransparent colors.
You can use the color for drawings or set the color to some of the controls (for example to create a transparent button or label).
Example:
'Clr is a ColorEx object.
Sub
Globals
End Sub
Sub
App_Start
Form1.Show
Clr.New1
Form1.Circle(
100
,
100
,
50
,cBlue,F)
Form1.Line(
100
,
100
,
200
,
200
,Clr.GetColor(
100
,cRed),BF)
Button1.Color = Clr.GetColor(
0
,cBlack)
'Transparent color
End Sub