Hello,
I am creating a user interface using Vensim DLL with Java coding. I would like to know what is the command that needs to be assigned to a button so as to display the pop-up window Subscript Control Panel.
Thanks in advance for your help!
How to display subscript control panel in JAVA UI?
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to display subscript control panel in JAVA UI?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: How to display subscript control panel in JAVA UI?
That works, thank you!
Command to have Vensim DLL read the selected subscript eleme
Hi,
I have another question on the use of subscripts in JAVA UI.
The command: vensim_command("SPECIAL>SUBSCRIPT|?") associated to a button actually displays the Subscript Control Panel. However, the model variables displayed in the UI do not change based on subscript selection.
Is there a specific command to have Vensim DLL read the subscript elements selected in the Control Panel?
Thanks a lot for your help!
Niccolò
I have another question on the use of subscripts in JAVA UI.
The command: vensim_command("SPECIAL>SUBSCRIPT|?") associated to a button actually displays the Subscript Control Panel. However, the model variables displayed in the UI do not change based on subscript selection.
Is there a specific command to have Vensim DLL read the subscript elements selected in the Control Panel?
Thanks a lot for your help!
Niccolò
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to display subscript control panel in JAVA UI?
You will need to re-display the table/graph to get the updated set of subscripts.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: How to display subscript control panel in JAVA UI?
Thank you for your reply.
I had already tried to re-display the graphs, but nothing happens. Actually, the graphs do not display any subscript variable unless a subscript element is explicitly specified in the Java code. However, I would like to select the subscript element from the control panel, instead of specifying it in the Java code (since I don't want to create one dedicated graph for each subscript element and subelement).
Do I need to enter a specific command to have the UI read the selected subscript elements from its launch?
Thanks again.
I had already tried to re-display the graphs, but nothing happens. Actually, the graphs do not display any subscript variable unless a subscript element is explicitly specified in the Java code. However, I would like to select the subscript element from the control panel, instead of specifying it in the Java code (since I don't want to create one dedicated graph for each subscript element and subelement).
Do I need to enter a specific command to have the UI read the selected subscript elements from its launch?
Thanks again.
Re: How to display subscript control panel in JAVA UI?
I think we need to know a little more about what graphs you're displaying, and how, to answer this.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/