Vcl.ComCtrls.TUDChangingEvent
Delphi
TUDChangingEvent = procedure (Sender: TObject; var AllowChange: Boolean) of object;
C++
typedef void __fastcall (__closure *TUDChangingEvent)(System::TObject* Sender, bool &AllowChange);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
Type of an up-down control OnChanging event handler.
Sender is the control that generated the event.
Write an OnChanging event handler to conditionally disallow changes to the value of the Position property. Set the AllowChange parameter to false to prevent a change to the current value of Position.