November 2019
Beginner to intermediate
674 pages
15h
English
Instead of writing a full-fledged editor, the Editor project simulates just the bare minimum functionality of such a component. The text is displayed in a TMemo component with the Readonly property set to True. This prevents the user from typing directly into the memo field.
Key press commands are created in the form's OnKeyPress event. To make sure that all of the keys are seen, even when the memo itself has focus, the KeyPreview property of the form should be set to True. The OnKeyPress is only interested ...
Read now
Unlock full access