TSRVScrollBar.OnDrawArea, OnDrawBorder, OnDrawDecButton, OnDrawIncButton, OnDrawThumbTab

Top  Previous  Next

Events for custom drawing of the scrollbar.

property OnDrawBorder: TSRVDrawScrollBarEvent;

property OnDrawDecButton: TSRVDrawScrollBarEvent;

property OnDrawIncButton: TSRVDrawScrollBarEvent;

property OnDrawThumbTab: TSRVDrawScrollBarEvent;

property OnDrawArea: TSRVDrawScrollBarAreaEvent;

Use OnDrawArea to draw the scrollbar background (areas between the "inc/dec buttons" and the thumb tab).

Use OnDrawBackground to draw the control background. This event is called before all other custom drawing events.

Use OnDrawThumbTab to draw the thumb tab.

Use OnDrawDecButton to draw the button for scrolling to the beginning, and OnDrawIncButton to draw the button for scrolling to the end.


ScaleRichView © Ilya Zelensky & Sergey Tkachenko