LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW UI Windows-style buttons, checkboxes, greying out options, etc.

Solved!
Go to solution

Hello, I'm working on packaging my code into UI and I find the default options for UI are limiting.

Can I possibly replace one of the default Boolean controls with a checkbox that keeps some controls greyed out or somehow preventing user from interacting with them unless said Boolean is checked? 

Can I replace Boolean controls with a bubble instead of rocker/slide switch? Even better, I would prefer to replace Boolean indicators with with a clickable box that turns blue/grey when selected/deselected. Is that feasible? Currently I attach control to LED and put a box around them to achieve that - not efficient at all.  

Similarly, I want controls to be highlighted with a light blue box (typical Windows-style buttons) when hovering mouse. 

 

Is what I'm describing possible? I'm not happy with current buttons as they occupy considerable space and clutter interface as a result. Perhaps there are tutorials specifically devoted to building intuitive UI? 

0 Kudos
Message 1 of 4
(1,043 Views)
Solution
Accepted by topic author John32d

Yes, there are tons of options for that sort of thing. Graying and ungraying need to be done with property nodes; they can't be linked automagically to a checkbox.

 

Do some reading on event structures to detect the button presses, as well as the "Enabled" property (which you can set to Enabled, Disabled, or Disabled and Grayed Out).

 

Look around in the Controls palette, especially under System Controls. You can also install the "Missing system controls" package on VIPM to get more system-styled controls.

Message 2 of 4
(1,040 Views)

A couple of other options to consider:

  • UI Interest Group
  • Check VIPM, a few control suites are posted there that may interest you.
aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
Message 3 of 4
(959 Views)

Apologies, I didn't realize that I'm only looking at a "Modern" pallet, there are a lot more built-in UI elements to do what I want. 

0 Kudos
Message 4 of 4
(884 Views)