Monthly Archives: November 2020

ModelMaker Code Explorer

Today I would like to recommend the ModelMaker Code Explorer (MMX) as a must-have IDE plugin. It allows to refactor, sort and organize the code. It also shows bad coding style like long methods, magic numbers and hard-coded strings. Originally … Continue reading

Posted in Delphi, Third Party Components, Tips and Tricks, Uncategorized | Comments Off on ModelMaker Code Explorer

Did you know…?

Did you know that you can get and set events with the TMethod record? Let’s assume you would like to hook an OnClose event of a form: type TMyHookObject = class strict private FOldOnClose: TMethod; procedure OnClose(ASender: TObject; var AAction: … Continue reading

Posted in Uncategorized | Comments Off on Did you know…?

Did you know…?

Did you know that inside Delphi designtime packages you can use all global Vcl variables like Application and Screen? Particularly the Screen variable is very interesting since it fires events like OnActiveFormChange and also offers the useful Forms collection.  The … Continue reading

Posted in Delphi, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio 10.3 Rio, RAD Studio 10.4 Sydney, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Tips and Tricks, Uncategorized | Comments Off on Did you know…?