This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: GUI COMPOSER: Is it possible to have multiple windows or a pop-up dialog with more controls?

Part Number: CODECOMPOSER

Tool/software:

Is it possible to launch a secondary dashboard or pop-up window that will have more controls linked to the target?  I sort of envision this as a second .gui file that will be opened on demand in the application.  

If it is possible, are there examples that I can take a look at?


Thanks!

  • It is not practically possible to open a separate window.  The real problem is trying to share the target connection between the two disjoint windows.  So there is an api to open a new window with another html page, but it would have to have it's own target connection which would compete with the other window.  However, you can open a dialog or popup window within the same window, but that would overlap the original to some degree.

  • Thanks, Paul.

    Is there an example in the gallery that you would recommend for the popup window?  

  • Hi Mark, 
    I would recommend taking a look at Componnets help for gc-widget-dialog, In GC Designer choose Help->Component Help-> Components V3 

    Find the gc-widget dialog and select it to see examples. You can then open the demo page by clicking on button below

    Once you have the demo in separate browser tab, open Browsers Developer Tools to see the implementation of the demo ( once Browser Developer Tools is opened type CTRL+P to open the file and enter "index.html", it will show the code snippet that you would need enter/add to your .gui file. 

    Martin