Change Color of Selected Tab Using LabVIEW

Prodotti e Ambiente

Questa sezione descrive i prodotti e il sistema operativo utilizzati per creare l'esempio.

Per scaricare il software NI, compresi i prodotti illustrati di seguito, visitare il sito ni.com/downloads.

    Software

  • LabVIEW

Codice e Documentazione

Allegato

Scarica tutti

Description

 

Overview

This VI allows you to programmatically change the color of tabs on a front panel tab control. It is ideal for high-lighting the selected tab

 

Description

In certain applications, the user wants to highlight the tab control, when pressed. This VI implements changing the color of Tab control programmatically, using Event Structure. Whenever a Tab control press, a value changed event occurs, and then changing the color to its new value (color)

 

Requirements

LabVIEW Full Development System 2012 or compatible

 

Steps to Implement or Execute Code

1.Run the VI
2.Switch between the Tab controls
3.Observe how each Tab changes its color
4.Press the stop button, to sop the VI

 

Additional Information or References

This VI is using Event Structure

 

VI Block Diagram

Change Color of Selected Tab LV2012 NI Verified BD.jpg

 

 

 

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

 

Rich Roberts
Senior Marketing Engineer, National Instruments
Connect on LinkedIn: https://www.linkedin.com/in/richard-roberts-4176a27b/

Il codice di esempio scaricato dall'Example Code Exchange nella NI Community è concesso in licenza con la licenza MIT.

Commenti
DenisTlse
Member
Member
su

Hello I don't know how to apply your solution for detect any control change in tab_control page for every page?

Could you help me please?

Dennis