I have a desktop app that will have a number of radio buttons, some text fields as preset names etc. There are “button features” that will contain a selection of buttons ( radio buttons on or off ) plus other values such as text fields ie a button feature name “my button feature 1”. Each preset will hold anywhere from 20 of these button features but needs to be scalable to include larger features later.
Here is a small example of a feature:
“my button feature name” Button feature name 1 of 20 possible for this preset
O Shift Key (radio button illustration)
O CMD key (radio button illustration)
000000 mouse position X ’ store a mouse position value
000000 mouse position Y ’ store a mouse position value
O Press Key Keycode = 1D ’ radio button that tells this button to press this key 1D
A PRESET will be a collection of a number of buttons ie 20 buttons that are on a remote panel. I want to save the functionality of each button to a folder as a Button Feature. I want to save a PRESET as a collection of the Button Features that are assigned to the buttons on the remote button panel. The Button Features will have a number of radio buttons and text and this options will increase over time.
Is this a job for XML or CSV? Is there an example somewhere that I can learn how to capture the button states ( true or false ) plus text and save it as a feature and the entire set as preset? Then recall the values back to the GUI?
Thanks for any suggestions.