I'm creating an application with Dynamics for calculating and plotting circular orbits.
It allows the user to set a custom radius, giving them an option to either use an InputField as well as a Slider to emulate the Slider ability from the Manipulate but as part of the User Interface. The application also includes a selection of preset orbits with fixed values accessible via a Popup menu.
I'm currently having an issue setting up the 3 Control objects (Popup menu, InputField, Slider) such that they reflect the set value but are also able to be independently edited in order to override the other selections.
For example, when I select Geostationary in the Popup menu, I want to set the radius variable to the preset value for the Geostationary orbit and I want this value to be updated and shown both on the Slider and the InputField. However, I also want to be able to either alter the value on the Slider or the InputField (thus setting the radius to a custom user-defined variable) and I want the Popup menu's selection to update to show the Custom option. The overriding process would occur in a "first come" basis as in the last Control object to be edited is the one which overrides all the others.
As of right now I only have the Popup menu and the InputField included - when I include the Slider this locks both the InputField and the Slider to the preset value from the Popup selection and I can't alter the values through them, only with the Popup menu. Even then, I can select the Custom option in the Popup and set the value through the InputField successfully, but I haven't been able to do the reverse, that is, alter the Popup menu selection from a non-Custom option to the Custom option by changing the value in the InputField. When I select a preset option on the Popup menu it also doesn't update the value in the input field - despite it overriding the variable itself used for the calculations so the results are correct.
Does anyone have any suggestions? I apologize for the long post and for these being relatively simple concepts and when I apply each one individually (looking at the tutorials) they work, but it's combining them altogether which is causing issues.