Suppose you've got a simple enumeration of states ("Login", "Measure", "Save", "Logout").
You'd like to define that enum in one place and then use it as states in a state machine to keep track of what point in the process your program is in. You'd also like to use the same list of states for the pages in a tab dialog.
Now, in the world of reusable software, you'd like it if you could have the list of states defined in one place, and when you change it, it automatically updates the case statement for your state machine AND automatically adds/deletes/changes the pages on your tabs. Even if it wasn't 100% automatic, you'd at least like it to be a click on "update this object" or something, as opposed
to opening each object and changing the states that appear in a completely manual way.
As far as I can tell, I can't wire an enum to a tab control in any way. Is there a way to propagate the contents of an enum to a tab control?
The more I use LabVIEW the more I realize that resuse simply is not a real option, and this is a great tool for the quick&dirty but a terrible tool for anything that might evolve or modify over time.