TGrpButtonDrawEvent is the type of Button Group draw event handler.
TGrpButtonDrawEvent defines the type of method procedure that you must define in order to implement the OnAfterDrawButton, OnBeforeDrawButton and OnDrawButton events of the TButtonGroup class.
Each of these events is invoked once per button 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.
Rect defines the rectangle in which the user drawing must be made.
State defines state of the button to be drawn.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!