TSRVTabSet.OnDrawBackground, OnDrawBorder, OnDrawDecButton, OnDrawIncButton, OnDrawTab, OnDrawCloseButton

<< Click to display table of contents >>

TSRVTabSet.OnDrawBackground, OnDrawBorder, OnDrawDecButton, OnDrawIncButton, OnDrawTab, OnDrawCloseButton

Events for custom drawing of the tab set control.

property OnDrawBackground: TSRVDrawTabSetEvent;

property OnDrawBorder: TSRVDrawTabSetEvent;

property OnDrawDecButton: TSRVDrawTabSetEvent;

property OnDrawIncButton: TSRVDrawTabSetEvent;

property OnDrawTab: TSRVDrawTabEvent;

property OnDrawCloseButton: TSRVDrawTabEvent;

Drawing the tab set control

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

Use OnDrawBorder to draw the control border. This event is called after all other custom drawing events.

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

Drawing tabs

Use OnDrawTab to draw a tab, and OnDrawCloseButton to draw a tab closing button.