<< Click to display table of contents >> TSRVDrawTabSetEvent Type |
A type of the following events of TSRVTabSet:
•OnDrawDecButton
•OnDrawIncButton
•OnDrawBackground
Unit SRVTabSet.
type
TSRVDrawTabSetEvent = procedure(Sender: TSRVTabSet; Canvas: TCanvas;
ARect, PaintRect: TRect; State: TSRVDrawStates;
var DoDefault: Boolean) of object;
Parameters
Canvas – a canvas where to draw.
ARect – a rectangle defining the position of the object to draw.
APaintRect – a rectangle that needs to be redrawn. You can use this parameter to optimize drawing.
State – a set describing the current object state.
Set DoDefault to False to prevent the default drawing of this object.