I wrote a wizard in Delphi XE and it works fine. However, I have not yet figured out how to access the generated unit name by default (or form name or project name) that Delphi OTA can create.
In my old-style wizard, I was able to call ToolServices.GetNewModuleName to find the available unit and form name that I could use when creating the associated source files. What is equivalent in the open tools API today?
According to the comments of the ToolsAPI module, I have to return an empty value from the IOTAModuleCreator.GetImplFileName method so that Delphi will generate the file name. I am returning an empty string from this method, but still cannot see where I can access the file name that Delphi generates.
delphi delphi-xe wizard
Cary jensen
source share