TiEdit.OnBeforeChange
TiEdit
Allows for control over whether the Value property is changed and what value it is set to.
type TOnBeforeChangeDouble = procedure(Sender : TObject; OldValue : String; var NewValue : String; var CanChange : Boolean) of object;
property OnBeforeChange : TOnBeforeChange;
Description
Use OnBeforeChange to control whether the Value property can change. The event passes the OldValue and NewValue for
inspection. Set CanChange to TRUE to allow the Value property to change. You can also modify the value that the Value property is set to by changing the NewValue property.
Contents | Index | Previous | Next