ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to replace a button with icon?

Hello!
 
Is there a way to replace a button with an icon? Or maybe to cover the button with som picture so it looks like a icon?
 
In the attached file I show with a picture what I mean?
 
Is it possible in LabVIEW to get color in some picutre transparent? For example, I do not want the white color to be visable, can I make it transparent?
Message 1 of 11
(8,346 Views)

1. Open Help->Search the LabVIEW Bookshelf.

2. Find corresponding manual:•

LabVIEW Custom Controls, Indicators, and Type Definitions

 


Jack
Win XP
LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
Let us speek Russian 🙂
0 Kudos
Message 2 of 11
(8,334 Views)
not sure what Jack talks about but I couldn't find that anywhere ...anyone knows where can I add a custom image to an button?
0 Kudos
Message 3 of 11
(8,101 Views)
Message 4 of 11
(8,093 Views)

Hi,

            Any boolean button can be replaced by any picture by customizing that button.Right click on the boolean button select Advanced>Customize...that will open a new window with the button,copy the picture you want to replace on it and right click on it select Import picture from clipboard>True and same procedure for false condition. I have attached a vi. Hope this helps you.Let me know if this is ok.

Message 5 of 11
(8,071 Views)
thanks guys
0 Kudos
Message 6 of 11
(8,029 Views)

Auto,

 

When I right click on the button in edit control screen, "import picture from clipboard" was grayed out ...would know how to enable that?  is it because I'm using v8.6?

Message 7 of 11
(8,020 Views)

That option is greyed out if there is nothing in your clipboard.

 

I usually open an image in paint do a ctrl-a to slect all and the a ctrl-c to copy to the clipboard.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 11
(8,014 Views)
You may also wish to look at this video tutorial.
Message 9 of 11
(7,998 Views)
thanks guys
Message 10 of 11
(7,986 Views)