The attached example introduces avEditControl unit.
The new class TavmCustomTextEdit (inherits from TavmCustomEdit) provides extra control over the text in control. It also allows for a better feature extensions in future.
TavmCustomEdit has to be extended to make fText protected.
(why is fText "string" anyway, shouldn't be UnicodeString instead?)
editcontrol.zip