LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom built buttons

Hallo,

how can I create Button Control elements with symbols or even pictures on
it?.

I thought of drawing a picture of my button, display this picture on front
panel and respond to MouseDown events within that picture. Sure works
but...Jesus...can it be done with less work?

Oliver Friedrich
0 Kudos
Message 1 of 2
(2,832 Views)
Place a button on the front panel, select it, go "Edit..Customize control". In the control editor, import a picture using "Edit..Import picture from file" (or simply copy an image to the clipboard).

Now right-click on the button and select "Import picture". You can either import seperate picture for the true and false case or import the image as decal.

Close the control editor and you'll have the option to save the custom control and also to replace the control in the original VI with the new version.

For more details see the section labeled "Importing Graphics into Boolean Controls and Indicators" in the online help and Application note 159: LabV
IEW� Custom Controls, Indicators,
and Type Definitions
.
Message 2 of 2
(2,832 Views)