Jump to content
uniGUI Discussion Forums
hootchi

"There is no Default Javascript Object" on Terminate

Recommended Posts

Hi all,

 

i am trying terminate session (UniSession.Terminate('') or UniMainModule.Terminate) in UniGUIMainModuleCreate if problem with connection to database, but now i am getting this error "There is no Default Javascript Object".

 

What is a problem? I cant break this exception :(

 

Thx

 

h.

Share this post


Link to post
Share on other sites

In my signature, uniGUI 0.98.0.1114. I did not have time to upgrade, but now i tried new project on same version and there is everything ok with terminating in UniGUIMainModuleCreate, problem I have, therefore, only one project.

 

I going to trace my source where is a problem. 

 

BTW, is this UniGUI error or Ext error?

 

// I now created new MainFormClass in problem project and no error, old Main form looks like wrong :(

 

Thx

 

h.

Share this post


Link to post
Share on other sites
I am facing a problem when I use TMS Scripter for the runtime creation of some routines in which I need to create forms.
If in the form I'm creating using TMS Scripter if the FreeOnClose property = false, I do not get the error, however the form is not destroyed.

 

If freeonClose = True the described error occurs. Any idea what might cause the error? Version: 1.0.0.1407

 

There is no Default Javascript Object

Share this post


Link to post
Share on other sites
procedure TFStdFrame.UniFrameDestroy(Sender: TObject);

begin

  atScripter1.Free;

end;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×