| TIB_EditButtonCustomDrawEvent Type |
Unit
IB_Controls
Declaration
TIB_EditButtonCustomDrawEvent = procedure (ACanvas:TCanvas; Rect:TRect;
Enabled,Pressed:boolean;
var DefaultDraw:boolean) of object;Description
This event allows it to change the drawing of the Ellipsis or DropDown-Button:
It is possible only to change the Brush-Color of the Canvas and then let the
DefaultDrawing do the rest (Only when Enabled!)
On the other hand, it is possible to Draw a completly different Image into the
Rectangle of the Canvas.
Example: with a ImageList and its Draw-Methode