Applies case conversion (if needed), and updates the editing cursor selection text.
Source position: stdctrls.pp line 803
protected procedure TCustomEdit.TextChanged; override; |
TextChanged is a an overridden method used to perform actions needed when the CM_TEXTCHANGED message is handled for the control. No actions are performed in the method when a previous call to TextChanged has not been completed.
TextChanged uses the value in CharCase to determine if case conversion is applied to the value in Text. When CharCase contains ecUpperCase or ecLowerCase, the corresponding UTF-8 conversion routine is called. When Text is modified in the method, the values in CaretPos, SelStart, and SelLength are re-applied to the control. At run-time, the value in Modified is set to True when Text has been changed in the method.
|
Controls the character case applied to values entered in the control. |
|
|
The text displayed and edited for the control. |
|
|
The position of the editing cursor in the control. |
|
|
The zero-based index for the first UTF-8 character in the current text selection. |
|
|
The number of currently selected UTF-8-encoded characters in the control. |
|
|
True when the value in Text has been changed. |
|
|
Updates Modified and the TextHint display when storing the new Text value. |
|
UTF8UpperCase |
||
UTF8LowerCase |
||
|
Performs actions needed when the value for the Text property has been changed. |
CT Web help |
CodeTyphon Studio |