[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions when the value in the Text property has been changed.
Source position: maskedit.pp line 280
protected procedure TCustomMaskEdit.TextChanged; override; |
TextChanged is an overridden procedure used to respond to a change in the value for the Text property. Its purpose is to avoid leaving the control in an invalid state when:
If one of these operations happen, then the internal logic for cursor positioning and character insertion can be invalid. So, we simply restore the text value from an internal member used to track the current text value.
The inherited TextChanged method is called when IsMasked is False, or when an internal update to the control value is performed. Otherwise, RealSetTextWhileMasked is called followed by SetCursorPos.
|
Applies case conversion (if needed), and updates the editing cursor selection text. |
Version 4.0 | Generated 2025-05-03 | Home |