Example Code

Glow Buttons when Mouse Over using LabVIEW

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

This is example shows how to develop some nice looking, mouse over, glow buttons in LabVIEW by using a transparent 2D Picture Control

 

Description

This is a simple example program to show beginning programmers how to develop some nice looking, mouse over, glow buttons in LabVIEW by using a transparent Picture Control. This example may be modified, expanded, and used in many LabVIEW applications to enhance front panel GUIs.

 

Requirements

LabVIEW Full Development System 2012 or compatible

 

Steps to Implement or Execute Code

  1. Run the VI
  2. Hover the mouse over Button 1 and 2, the buttons will glow change their states and glow in their respective ON color.
  3. Click on Button 1 and 2 to turn on the Indicators 1 and 2

 

 Additional Information or References

VI Block Diagram


2226.PNG

 

**This document has been updated to meet the current required format for the NI Code Exchange. **

Product Support Engineer
National Instruments

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