Vcl.ComCtrls.TUpDown.OnClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnClick: TUDClickEvent read FOnClick write FOnClick;

C++

__property OnClick;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TUpDown

Description

Occurs when the user clicks an arrow button.

Vcl.ComCtrls.TUpDown.OnClick inherits from Vcl.ComCtrls.TCustomUpDown.OnClick. All content below this line refers to Vcl.ComCtrls.TCustomUpDown.OnClick.

Occurs when the user clicks an arrow button.

Write an OnClick event handler (type: TUDClickEvent) to take specific action when the user clicks one of the arrow buttons. If the Associate property is not used to automatically update the text of an edit control when the value of Position changes, use the OnClick event handler to respond to changes just before the value of Position is changed.

See Also

Code Examples