TSRVDrawScrollBarEvent Type |
Top Previous Next |
|
A type of the following events of TSRVScrollBar: •OnDrawDecButton •OnDrawThumbTab Unit SRVSBar. type TSRVDrawScrollBarEvent = procedure(Sender: TSRVScrollBar; 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. |