Delphi Programming Tutorial – Unit 6.10: Exploring RichEdits (TRichEdit Class)

Delphi Programming Tutorial – Unit 6.10: Exploring RichEdits (TRichEdit Class):

We will learn about RichEdits (the TRichEdit class) in this video. We use a TRichEdit object to place a standard Windows rich text edit control on a Form. Rich text edit controls let the user enter, edit, format, print, and save text that includes variation in font and paragraph formatting.

TRichEdit has properties and methods to enter and work with rich text. TRichEdit does not provide any user interface components to make these formatting options available to the user. Programmers must implement the user interface components in their applications to surface the rich text capabilities of a TRichEdit object. To make this easier, a number of pre-defined standard actions operate on a rich edit control to perform common formatting tasks.

Rich Edit provides a simple Print method allowing you to programmatically print the (formatted) contents of the rich edit to the active printer – with a single line of code.

In this tutorial, we complete the Graphical User Interface for the Contact Information project that we worked on in previous tutorials. We add a TRichEdit on our Form and set some of its properties in the Object Inspector. We explore the various options of the TRichEdit’s ScrollBars property. After we completed the tutorial the following values must be set for the properties of our TRichEdit:

– Lines – [Empty] : Remove all the lines;
– ReadOnly – True: User is not allowed to enter or edit values;
– Height – 200
– Left – 30
– Top – 290
– Width – 475

This Delphi programming tutorial is best viewed in HD. To change your settings to HD:

1. Click on the Gear-icon (Settings) at the bottom of the YouTube Video Player.

2. Select “720p HD” and wait a few moments for the setting to take effect.


For more Delphi video tutorials also join us at

You may also want to visit the following resources for more information:


Isaac Campbell says:

What is the music that you use in these? Its so catchy and i just need to have it 😀

opblitz87 says:

There is no RichEdit object in Lazarus. How to deal with this problem? RichMemo that is indicated as a substitution for RichEdit doesn’t work too.

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours