ImageEn, unit iexColorPalette |
|
TIEColorPalette.OnGetHintText
Declaration
property OnGetHintText: TIEGetHintTextEvent;
Description
Occurs whenever a custom hint is set when hovering over a color (based on the
HintFormat property).
The hint can be customized by changing the value of
HintStr.
procedure TForm1.ColorPalette1GetHintText(aColor: TColor; Index: Integer; var HintStr: string);
begin
if aColor = clRed then
HintStr := 'Red, just like my Ferrari!";
end;