I am working in an delphi IDE expert , and I need enumerate all the forms displayed by the Delphi IDE, currently i am using the Screen.Forms
property , but i am wondering if exist another way to do this using the OTA. because using the Screen.Forms
only works when my expert is a BPL but now i am migrating to a dll expert.
Screen.Forms
should still work from a DLL. Just make sure you compile your DLL with the "use runtime packages" linker option selected. That way, your DLL will use the same VCL instance as the IDE, and you'll have access to all the same global variables, including Screen
.