Showing results for 
Search instead for 
Did you mean: 

Maintaining User Selections from List




I have been programming a GUI in which the users have the option to select components from different drop-down enumeration boxes. Based on what they select in the first block the list of options for the following boxes may change. My question is whether or not there is a way to keep the selection of the second box even if the list changes.


For example, if the user selects Option A from block 1 and size 3 (from a list of 1, 2, or 3) from Block 2, is there a way to keep the second block to show a selection of 3 if they go back and choose Option B from block 1? In this instance we're assuming the list of options for the second block didn't change but it could if the user had selected, say, Option C. 


I appreciate any help, thanks!


Re: Maintaining User Selections from List

Esteemed Contributor
Esteemed Contributor

Particularly if you change the available options in "list 2", you will have to maintain this in your code.

You may also need a "Please Select" option for list 2, in case the previous selection was "3", and now there is no option "3" to select.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled