LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When creating a custom control, why is the picture item option removed?

Solved!
Go to solution

I customized a system boolean to add images for each of the 6 states (including mouse hover) by selecting the picture item from the list and importing the image from a .png file.  After resizing the control, I replaced each of the images with a new one in the corrected size.  After replacing the sixth image, the control now always shows it's highlighted version and the Picture Item entry in the run-time menu has vanished.  How do I restore the control's behavior to enable all six images?

 

Attached is the affected .ctl file:

 

Edit:  I'm working in Labview 8.6.1f1.

0 Kudos
Message 1 of 3
(4,079 Views)
Solution
Accepted by topic author ande3577

Well, reverting to the saved version of the control and repeating the process seems to have fixed it.  Guess it's just one of those little labview quirks that make the editor so painful to use.

0 Kudos
Message 2 of 3
(4,072 Views)

It seems like the last image that you pasted went into the Boolean Text layer.  Since this layer seems like it can hold only one image, the picture item menu doesn't exist, and all of your attempts to right-click on the button were right-clicking on the boolean text.  Switching to Customize mode allowed me to move the Boolean Text layer away from the button and then I could see that the various picture items were still intact.

Message 3 of 3
(3,979 Views)