04-17-2012 01:48 AM
Hi all,
I've got a question that I don't really know how to find the solution to (which is bizarre, b/c usually you can find everything on the forums.) I'm looking for some example code that provides the same structure as when we're defining a enum constant. For example, you can add/delete items in the enum, move an item up or down, etc. My application requires an interface for the user to define a sequence of procedures, and my initial inspiration was to use something similar to the enum definition interface. Besides add/delete/move up/move down, I will add another button called "modify" that calls another pop-up window to configure the settings of that particular procedure. Is there a template that does this already? I would love to see how this is done in LabVIEW.
Thanks in advance,
John Wu
Riobotics Consulting
04-17-2012 02:03 AM
04-17-2012 02:30 AM
Well, I don't think I need something as complicated as an XControl. I slopped some code together, I think this can do what I want, just wondering if I needed to reinvent the wheel.
-John
04-17-2012 05:08 AM
Sounds alot like a normal Listbox, possibly with the addition of a couple of buttons the reorder the array of strings and writes it back.
/Y