ColorKey
property
Delphi
property ColorKey: TColor read GetColorKey write SetColorKey default DEF_ColorKey;
C++Builder
__property System::Uitypes::TColor ColorKey = {read=GetColorKey, write=SetColorKey, default=1048592};
C#
public int ColorKey { get; set; }
VB.NET
Public Property ColorKey As Integer
C++/Qt
int GetColorKey ();
void SetColorKey (int Value);
Used to modify the default color key used for window transparency.
Remarks
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 the form's or window transparency.
Sample code is available in the transparency checkbox code of the "display" tab of the MainDemo project.