TGrpButtonDrawIconEvent is the type of Button Group OnDrawIcon event handler.
TGrpButtonDrawEvent defines the type of method procedure that you must define in order to implement the OnDrawIcon event which is called when a button icon is drawn or redrawn.
This event is invoked once per button icon in the button group.
Sender is a reference to the TButtonGroup invoking the event.
Index is the index of the button in the button group.
Canvas is the canvas on which the drawing takes place.
State defines state of the button to be drawn.
TextOffset defines the offset of the button text in pixels.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!