mos Posted July 5, 2017 Share Posted July 5, 2017 I have two uniGUI applications that need to be kept separated. One is an admin tool and the other is an add-on. In the admin tool uniGUI app it displays a treeview and what I want to do is when a node is clicked call the second uniGUI app so it's contents is displayed in either a separate browser window or in a frame created by the admin tool uniGUI app. Can you tell me what I need to do to be able to display the contents of the second uniGUI app in a separate browser window or in the frame of the admin tool uniGUI app? Quote Link to comment Share on other sites More sharing options...
skafy Posted July 5, 2017 Share Posted July 5, 2017 I thing database POST_EVENT would be one way to do it. Quote Link to comment Share on other sites More sharing options...
mos Posted July 5, 2017 Author Share Posted July 5, 2017 skafy, can you explain what you mean by database POST_EVENT and how this would work? Quote Link to comment Share on other sites More sharing options...
skafy Posted July 6, 2017 Share Posted July 6, 2017 If you are using firebird u have post events. In one application u fire the event and in seconde you listen to this event. when 1st application fire the event and the 2nd one cache it you would call sth like UniSession.AddJS('window.open(''https://support.wwf.org.uk'', ''_blank'');'); // to open a new window/tab I goues that would work for firebird. If you have some other DB behind check theirs events. Quote Link to comment Share on other sites More sharing options...
Jean-Marc Kiener Posted July 7, 2017 Share Posted July 7, 2017 You can use TuniHTMLFrame URL property for showing content of another app in your app. Example: MyHTMLFrame.URL := http://mydomain.com/myapp.dll?param1=xxx¶m2=xxx If both apps run in the same domain you can also use Cookies for sharing information between them. Quote Link to comment Share on other sites More sharing options...
skafy Posted July 7, 2017 Share Posted July 7, 2017 You can use TuniHTMLFrame URL property for showing content of another app in your app. Example: MyHTMLFrame.URL := http://mydomain.com/myapp.dll?param1=xxx¶m2=xxx If both apps run in the same domain you can also use Cookies for sharing information between them. Far better solution. 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.