Jump to content


Photo

"There is no Default Javascript Object" on Terminate

Terminate Javascript Object

  • Please log in to reply
5 replies to this topic

#1 hootchi

hootchi

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 October 2015 - 08:46 AM

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.


  • 0

Windows 8.1 Pro x64 | XE7 | uniGUI 0.98.0.1114


#2 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10363 posts

Posted 06 October 2015 - 08:50 AM

Please specify your version and edition.


  • 0

#3 hootchi

hootchi

    Member

  • Members
  • PipPip
  • 15 posts

Posted 06 October 2015 - 09:29 AM

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.


  • 0

Windows 8.1 Pro x64 | XE7 | uniGUI 0.98.0.1114


#4 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10363 posts

Posted 06 October 2015 - 11:09 AM

Please upgrade to latest build. Much have changed since version 0.98.


  • 0

#5 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 458 posts
  • LocationCuiabá-Brasil

Posted 04 September 2017 - 11:41 AM

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


  • 0

#6 aliemre

aliemre

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 63 posts

Posted 10 January 2018 - 01:51 PM

procedure TFStdFrame.UniFrameDestroy(Sender: TObject);
begin
  atScripter1.Free;
end;

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users