EControl Form Designer Pro
TCustomBtnPanel.OnDrawButton Event

Occurs when a particular button on the panel needs to be drawn.

property OnDrawButton: TDrawButtonEvent;

Write an OnDrawButtonl event handler to draw the particular button. 


The Sender parameter is the object whose event handler is called. 

The Rect parameter indicates the location of the button on the canvas. 

The Index parameter indicates index of corresponding button button.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!