How to init ScripterForm from native-delphi code

Good day, my application use my own form-manager thats why Create/Destroy are called from native code. Would you get me some example how to load resources and initialize events of ScripterForm-object from delphi.
Best regards.

You can have your own form scripts to be a custom class of you. For example, you can create your custom form class:


TMyScriptForm = class(TScriptForm)

implement your custom code there, and then make that class the base class for all forms created from script setting the TatCustomScripter.ScriptFormClass property:

atScripter1.ScriptFormClass := TMyScriptForm;