Jump to content

uniGUI app calling another uniGUI to display it's content


mos

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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&param2=xxx

If both apps run in the same domain you can also use Cookies for sharing information between them.

 

Far better solution.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...