cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to keet my choose in Combo Box in MathCad 15

Ramakr56
6-Contributor

How to keet my choose in Combo Box in MathCad 15

Hi everybody

I usually use Combo boxes in mathcad 15, bu t the problem is that if you choose something in there even after you save your file , the combo box selection will back to the default when you open it again ( because of script behind it)

for example in below image what should I write in script to keep my choose before last save?

any help in this regards will be highly appreciated

Thanks

Untitled.jpg

5 REPLIES 5
-MFra-
21-Topaz II
(To:Ramakr56)

Hi

please, would you attach a small sample worksheet.

Greetings

Ramakr56
6-Contributor
(To:-MFra-)

There u go

but just make sure to choose "NO" in prompt when you open the file

if you choose "Yes" all scripts will be disabled

Thanks

Its nothing you just would write in the script to remember the state of a control as you first would have to save the state somewhere in the sheet.

Here you may find a solution to your problem -> Saving the state of controls.zip

Ramakr56
6-Contributor
(To:Werner_E)

Thanks Werner

It helped me a lot and really impressed me

Ramakr56
6-Contributor
(To:Ramakr56)

here it is

I made it and you can use it also for yourself

i tried to make it simple so you do not see unnecessary sentences or inputs in script

Thanks @Richard Jackson & @Werner Exinger alot

Top Tags