LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons question

I want to put an picture or icon on a button to reduce de size of that
button. but I didn't find any way to do that!

Anyone can help?
Eric Poirier
0 Kudos
Message 1 of 4
(2,939 Views)
What I've done in the past is to bring up a picture control, and put your icon/picture in that. Size it to the size you want, then place the boolean on top of it, making the bollean background color transparent.

Hope that helps.

Mark
0 Kudos
Message 2 of 4
(2,939 Views)
Open the control editor , right-click>>advanced>>customize... ,for a boolean button. Using a image viewer copy the picture you want to the clip board, then right-click on the control in the control editor and select import picture>>decal. This should achieve what you are looking for.

Brian
0 Kudos
Message 3 of 4
(2,939 Views)
> I want to put an picture or icon on a button to reduce de size of that
> button. but I didn't find any way to do that!
>

If using LV6, you can go into the control editor by right clicking and
choosing Advanced>>Customize. You now have some additional popup items
on the Boolean, such as importing a Decal. In particular, once in the
control editor, you will find the bottom menu item lets you import an
image, if one is on the clipboard, and make it the picture for the True
state or the False state. These images will replace the button picture
that is already there, this doesn't sound like it is what you want. The
other import option is to import a Decal which is just drawn on the button,
and is drawn the same for both states of the button.

If you need a good pl
ace to build a masked glyph, you might want to use
the icon editor to build one, select and copy. Close the icon editor,
then import. Once the button is updated, close the control editor. You
can save the control to the user.lib as an easy way to get it added to your
palettes. Choose to replace the original and your initial button now has
a glyph.

Greg McKaskle
0 Kudos
Message 4 of 4
(2,939 Views)