LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating "Smart" or contextual buttons

Hi all,

I have a very cluttered GUI and it's full of buttons inside a case structure. I was wondering if there was a way to selectively show buttons from the selected case.
For example, I have "thumb," "index," and "MRP" cases in a ring selector. As you will see in the attachment, I have three sets of buttons, one for each case. How do I only show the appropriate buttons for the case when the case is selected, and hide (or gray out, even... anything to show they're not usable) the others?

Thanks!

0 Kudos
Message 1 of 4
(3,291 Views)
Try a tab control.
0 Kudos
Message 2 of 4
(3,286 Views)

I'm not sure if I understand the problem correctly, but there are tricks you could do.  The simplest is to use a TAB control which displays a group of controls & indicators based on certain selections.  The selection would index the appropriate TAB page.

Another trick is to use a combination of hide / display controls along with super-imposed controls (or indicators).  This one would have to be used with a lot of care, and therefore it is not recommended..  Why mentioning it?  Well, it is an approach that I have had to use in order to meet a design specification for a particular client.

R

Message 3 of 4
(3,283 Views)
Got it guys, thanks a lot! 🙂
0 Kudos
Message 4 of 4
(3,279 Views)