TCustomTeePanel.IsScreenHighColor
TCustomTeePanel
function IsScreenHighColor: Boolean;
Unit
TeeProcs
Description
The IsScreenHighColor function returns True if the current video mode color depth is greater than 256 colors.
Example:
This code shows or hides the Chart.Gradient:
Chart1.Gradient.Visible := Chart1.IsScreenHighColor ;