Example Code

LabVIEW Simple VI That Changes the Highlighted Color of a Button / Makes it Glow

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

 

Overview

Change the highlighted color and or make a button glow.

 

Description

This code consist on making a button glow while the mouse is over it. This is done by the use of property nodes.

 

Requirements

LabVIEW 2015 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI
2. Move the mouse over the buttons
3. Click on the buttons to see how it lights the LEDs on
4. Stop the VI

 

Additional Information or References

Capture.PNG

 

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
huz
Member
Member
on

Hi

On your program, how did u make it such that when the program is run, the top bar totally disappears?

Huz

John_P1
Trusted Enthusiast
Trusted Enthusiast
on

Hi Huz,

I didn't write the code, but I believe you can do this through VI Properties as follows:

  1. Navigate to File >> VI Properties
  2. Select the Window Appearance category
  3. Choose the Custom option, then select Customize...
  4. Make sure to uncheck Show toolbar when running, and Show menu bar
John Passiak