Hi,
In script standart call:
...
MainForm := TForm2.Create(Application);
MainForm.Show;
how to get a handle of MainForm from script ?
Hi,
You can use ScriptInfo.Globals to iterate through the global variables of a script and get their value. If MainForm is a global variable, you can do that.