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 Forms collection allows to iterate through all IDE forms and the OnActiveFormChange event allows to react when a new form becomes active.

This entry was 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. Bookmark the permalink.