ColorKey
TVideoGrabber.ColorKey |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Used to modify the default color key used for window transparency.
Declaration
property ColorKey: TColorKey read GetColorKey write SetColorKey default DEF_ColorKey;
__property bool ColorKey=read=GetColorKey, write=SetColorKey, default=0
Property ColorKey As OLECOLOR
Description
Used to change the default color keys used for window transparency and related effects.
Enable the window transparency with ColorKeyEnabled, then invoke SetWindowTransparency to set your form's or window transparency.
You can find sample code in the transparency checkbox code of the "display" tab of the MainDemo project.