RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomUpDown.CanChange Method

Indicates whether Position can change.

Pascal
function CanChange: Boolean; dynamic;
C++
__fastcall Boolean CanChange();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!