Vcl.ComCtrls.TCustomUpDown.CanChange
Delphi
function CanChange: Boolean; dynamic;
C++
DYNAMIC bool __fastcall CanChange();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomUpDown |
Description
Indicates whether Position can change.
CanChange is called automatically when the user clicks the arrow buttons or an attempt is made to change the value of Position programmatically. CanChange generates an OnChanging event followed by an OnChangingEx event. It allows the change unless an OnChanging or OnChangingEx event handler prevents it.