Links
EControl Form Designer Pro
TCustomBtnPanel.ButtonClick Method

Generates an OnButtonClick event.

procedure ButtonClick(AButton: integer; Shift: TShiftState); virtual;

ButtonClick is called automatically when user presses mouse button with the mouse pointer over the particular button. Then it generates an OnButtonClick event. 

 

The AButton parameter indicates index of corresponding button. 

The Shift parameter indicates which shift keys (Shift, Ctrl, or Alt) were down when the user pressed the mouse button. 

 

Override this method to add class-specific processing when the button clicks.

See how descendant of TCustomBtnPanel overrides this method to assign current class type in DsnManager

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