10-12-2010 05:49 PM
Each of us at some point need a configuration or options dialog. And each of us know such dialogs (here as a reference I use the dialog that opens after choosing Tools->Options):
For many years I used the configuration dialogs built on the dialog templates. But when I started to modify one of my programs I thought about copying the "common" layout that you can see in the applications for Windows. And after few hours of work I ended up with something that looks like this:
I tried to make it to look like the LabVIEW options dialog. I used the tree control instead of a list so to activate an item you need to doubleclick on the it. The advantage is that you can make branches of options (writing an event handler that detects single click shouldn't be difficult but I just needed a concept VI).
What kind of UI do you use for the options/configuration of your app?
06-20-2011 05:31 PM
Currently I use a Tab control, and manual "Set Value as Defualt" all of my controls. This is a pain, I've been wanting to chnage this.
I like your idea, I'm thinking about combining this UI with the built-in "Configuration VIs"
06-20-2011 05:43 PM
You probably want to check out
https://decibel.ni.com/content/docs/DOC-13146
This actually oulines how to acutally use the options dialog built into LV to display your own options panel
also you might like
http://dl.dropbox.com/u/1934592/Preference%20Pane.zip
instead
This is a fully developed LV only version that you have full access to all VI in the chain instead of working with a locked framwork that exists in LV