EControl Form Designer Pro
TCustomBtnPanel.DrawButton Method

Generates an OnDrawButton event.

procedure DrawButton(var Rect: TRect; Index: Integer); virtual;

Simply generates an OnDrawButton event after rendering this button in TCustomBtnPanel.Paint


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

The Index parameter indicates index of corresponding button.

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