Modifying a Projects Default Form


Is there a way to replace the default form that scripter uses when adding a new form to a project? I have a base form in Delphi which I plan to expose as the "base" form in the scripted system.


Rhett Price

Hi Rhett,

Yes, you can set the form class using ScriptFormClass property:

IDEScripter1.ScriptFormClass := TMyScriptForm;

But, you can't directly use any form you have in your application. Your TMyScriptForm must inherit from TScriptForm class.