hootchi Posted October 6, 2015 Share Posted October 6, 2015 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. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 6, 2015 Administrators Share Posted October 6, 2015 Please specify your version and edition. Quote Link to comment Share on other sites More sharing options...
hootchi Posted October 6, 2015 Author Share Posted October 6, 2015 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. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 6, 2015 Administrators Share Posted October 6, 2015 Please upgrade to latest build. Much have changed since version 0.98. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted September 4, 2017 Share Posted September 4, 2017 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 Quote Link to comment Share on other sites More sharing options...
aliemre Posted January 10, 2018 Share Posted January 10, 2018 procedure TFStdFrame.UniFrameDestroy(Sender: TObject); begin atScripter1.Free; end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.