RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomUpDown.Click Method

Generates an OnClick event.

Pascal
procedure Click(Button: TUDBtnType); dynamic; reintroduce;
C++
__fastcall Click(TUDBtnType Button);

Click is called automatically when the user clicks an arrow button or presses an Up or Down arrow key. Override this method to specify special processing that should occur before the OnClick event handler executes, or to block the OnClick event. The Button parameter specifies which button was clicked: btNext refers to the Up or Right arrow, and btPrev refers to the Down or Left arrow. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!