Hi,
I make the MainForm accessible to script to manage its properties like "Width" and "Caption", but I can't do so with "Components" property. How can I do this ?. What I need is to loop through MainForm components to adjust their sizes and positions.
Thank you in advance,
You have to register methods and public properties, which is the case of Components property. Several ways to do that:
Alternatively you can also add the existing import library for Classes unit which register those:
uses {...}, ap_Classes;
...
IDEScripter1.AddLibrary(TatClassesLibrary);