In this 10 minute video we take a look at how we can easily write a RichText editor using a TRichEdit, TImageList, TActionManager and a TActionToolBar (with no code). Then we look how we can extract the raw RichText from the TRichEdit and finally write a little class helper to add a property to the TRichEdit to give access to the RichText. It's been almost a year since my last video and things have moved forward somewhat, this one is recorded at 1280x720 (720p). You can watch it on Here.
Delphi is a statically typed language, but there are some tricks you can use if you want to be able to do some dynamically typed coding. In this Delphi programming tutorial we create a custom variant type (descending from TInvokeableVariantType). We then override Get and SetProperty to handle arbitary properties (that don't exist at design time). This video is about nine minutes long and you can watch it here.
In this Delphi programming tutorial we start with an application that loads and saves some settings out of an ini-file. We then tidy up the code a bit by creating a new class inheriting from TIniFile that uses properties with getter and setter methods to change the settings rather than ReadString / WriteString. This makes the code much nicer as you get code completion and error insight. We also make use of the Initialization and Finalization sections of a unit to create and free our new class. This video is 10 minutes long and you can watch it here.
Page 15 of 21