Vcl.ComCtrls.TUpDown.OnChangingEx
Delphi
property OnChangingEx;
C++
__property OnChangingEx;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TUpDown |
Description
Occurs when the position of an up-down control is about to change.
Vcl.ComCtrls.TUpDown.OnChangingEx inherits from Vcl.ComCtrls.TCustomUpDown.OnChangingEx. All content below this line refers to Vcl.ComCtrls.TCustomUpDown.OnChangingEx.
Occurs when the position of an up-down control is about to change.
Write an OnChangingEx event handler (type: TUDChangingEventEx) to conditionally disallow changes to the value of Position. Set the AllowChange parameter to false to prevent a change to the current value of Position.