This Fancy Enum xControl is similar to the control which you see in the winows explorer of XP. This xControl is fully open source. The data type of this xControl is an Enum. Value Change event for this control will fire only when sub boolean buttons are pressed. This control can only be used as control and not as indicator.
How to see the demo?
1. Download the Fancy Enum xControl.zip
2. Extract the zip file
3. Open "Run this Vi for demo.vi" in LabVIEW 2009 or latter version and see the demo.
How to use it in my project?
Open the "Fancy Enum Facade.vi" change the boolean text labels, then open "Fancy Enum Data.ctl" and update edit enum control strings. You need to put little more effort in facade vi if you try to add or delete boolean controls.
Sorry for poor documentation.
Hope you will enjoy this xControl...........
Snapshot of Fancy Enum xControl running in a test VI
Visually, this is a fantastic XControl. It's very appealing, and I especially like the collapsible menu structures. I can see this being quite useful.
Programmatically there is room for improvement, I'd say. The control is not scaleable, and therefore not particularly reusable, without modifying/replicating whole chunks of code. The use of individual control references and numerous event cases could be reworked to use dynamic event handles and just 3 event cases (Mouse Enter, Mouse Leave, Value Change) linked to the array of control references. This would make it much easier to adapt the XControl to a specific application.
Excellent work, thanks for sharing!