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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Preserve the state of a checkbox

ptc-6733605
1-Newbie

Preserve the state of a checkbox

Anyone has a script to preserve the state of a checkbox when it is closed then reopened?

I've seen a script for a listbox here: http://communities.ptc.com/docs/DOC-1379 but no checkbox. Thanks

8 REPLIES 8
MikeArmstrong
5-Regular Member
(To:ptc-6733605)

I don't think I have seen what you are asking for, but sure it can be coded. I do have a radio button which saves selection if that is of any use?

Could help!

MikeArmstrong
5-Regular Member
(To:ptc-6733605)

The credit for creating the component should go to Philip Oakley

Thanks

MikeArmstrong
5-Regular Member
(To:ptc-6733605)

No problem at5 all. Sorry I am not the best at writing the script. Maybe someone who is more competent will help you

Actually, I created that component, and it's a very old version. It's superceded by the one here: Saving the state of controls.zip

@ Gabrial. I saw the request for a checkbox, but I just got back from an international business trip and haven't had time to deal with it. Which version of Mathcad are you using?

Mathcad 15.0 I think.

RichardJ
19-Tanzanite
(To:ptc-6733605)

OK. See the updated document here: Saving the state of controls.zip

Top Tags