Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I was wondering if someone can help me with my problem.
I want to save a listbox that is linked with buttons.
I already saw almost similar questions but the answers are not useful for this problem.
Also with the files from Richard Jackson i don't get a good script.
http://communities.ptc.com/docs/DOC-1071
Attached is a trimmed version of my sheet. The listbox receives an input from the buttons, which affects what is displayed in the listbox.
I would appreciate any help in solving this issue.
Thanks,
Dylan
I made also a sheet without metadata but still can't i save the listbox
see attachment
dylan
Hello Dylan,
Try this,
I've changed the radio button so that the last button returns the value to variable 'item'.
The first version has to iterate through the sheet twice , second time after it updated the radio button value - by then the OnLoad flag in the list box has been reset it doesn't catch the saved value
Regards
Andy
Sorry, I don't have time to fix your script right now. I am out of town next week and have too much to do before I leave. The answer to why your script doesn't work is in this other thread though: http://communities.ptc.com/message/177577#177577
The document here: Saving the state of controls.zip has a listbox that saves it's state and takes it's content from an input. I suggest that rather than fixing your script you write a small program in Mathcad that creates the list you want, and then just feed it into this listbox.