Marco's Tech Blog – In terms of language feature, class helpers have been around since Delphi 2005, followed by record helpers. These two constructs let you add to an existing class or record new methods, optionally also replacing existing ones. While this is more of a hack than a regular feature, it becomes important when you want to augment the features of an existing class you don't own, for example a library class. There is a caveat, though: you can have only one class helper active for each class at any time. The last visible class helper from the class scope wins over previous ones. Fast forward to ...
Visits by Source
Users who voted for this posting