Creating an active model view

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
bkruger@iafrica.com
Member
Posts: 26
Joined: Thu Mar 13, 2003 5:53 am
Vensim version: DSS

Creating an active model view

Post by bkruger@iafrica.com »

How exactly does one create an active model view that shows tooltips and reacts to the cursor?

I activate a screen from the main screen and have activated a mini-screen with the view activated. The screen contains a combo box that enable selection of views - but these are all passive, just pretty pictures - how does one activate it?
Lee Jones

Post by Lee Jones »

By default, the views embedded in Sable should be active. However, check to see that the option "comments on hover for" is checked in the options dialog (sketch tab) in Vensim. If this is not checked, then the tooltps will not display and the sketch will appear inactive. These Vensim settings are saved in the vensim.ini file in your windows directory. If you copy this file into the model directory of your project, then this specific ini file will be used by your project.

Another thing to remember is that, unlike in Vensim, a view in Sable requires a double-click on a parameter name in order to select it. Try displaying the current workbench variable on the same screen as the sketch, using a text box object and entering

Current selected variable: @WBVAR@

in the Static Text tab.

As you double-click on parameters in the sketch, the text object should display the new current workbench variable.

Hope this helps.
bkruger@iafrica.com
Member
Posts: 26
Joined: Thu Mar 13, 2003 5:53 am
Vensim version: DSS

Post by bkruger@iafrica.com »

Thanks, I have finally got it working :)
Post Reply