Vcl.ComCtrls.TCustomUpDown.CanChange

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also