Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Design Patterns
Expertise: Beginner
Jan 11, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Creating an Editor Like MS Notepad

I am working on a project where I am supposed to create a Microsoft notepad-like program. Do you have any tips on how I should go about creating it?

Building an editor is actually pretty simple. You just have to know what components you're likely to need. You'll probably want to build your program around the TRichEdit control which will let you save your files as RTF files that can be read by Word or other Windows word processing programs, and still retain the formatting.

Other than that, you can use buttons or menu choices to affect various styles (bold, italic, underline, etc.) that manipulate the properties of the TRichEdit control.

For starters, you should look at the demo text editor that is included with Delphi and use it as a starting point.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date