02-13-2009 07:28 AM
Dear all,
i wanted to know if there's a way to put a Pic on a Button.
I tried with customizing it, but after i put the pic on it and save it on the control, the button doesn't clich when i click on the pic portion.
Ritesh
02-13-2009 07:50 AM
Hi, Ritesh,
Here is great video tutorial how to do it in right way:
Creating System Dialog Buttons with Custom Icons
Andrey.
02-13-2009 08:08 AM
The link provided is very nice.
But answer to ypur question in short is.
1. Paste the image on your control.
2. Stretch the Boolean text rectangle, so as to cover the image completely.
3. Move the Boolean Text rectangle to front.
4.Test your control.
09-03-2009 09:05 AM - edited 09-03-2009 09:05 AM
09-03-2009 09:18 AM
08-22-2019 12:23 PM
Hey guys,
I know I'm posting 10 years later, but I'm having the exact same problem. I tried all the ways mentioned in this thread, but I cannot make the Boolean text box go on top of the image. What tool do you use to expand the text box? I tried adding new lines and space characters. It works, but just not on the image itself.
How do I make the image go "under" the text box? I know how to do it in Powerpoint lol.
08-22-2019 02:22 PM
Does this nugget or this nugget help?
Ben
08-22-2019 03:22 PM
Thanks, but not really 😞
I'm trying to make a button with a gear image in it resize/rescale with the FP. The native LV gear button does not work well at all. So I'm trying to overlay a PNG image on a blank button. I have been able to make it scale correctly. But I cannot get the button action when I click on the overlaid image on the button.
The folks on this thread seem to have found a solution. I see that when I make the Boolean text box bigger, I can click outside the button and still get the button action. But the Boolean text box goes "under" the overlaid image. I don't see a way to make the Boolean text box go "over" the image, although that is exactly what Krunal's post above says. This I imagine, is similar to the "Bring To Front" and "Send To Back" feature in PowerPoint.
08-22-2019 03:28 PM
08-22-2019 03:39 PM
I did the "Move To Front", but it didn't do anything.
The Boolean Text button is still behind the cog wheel. And when I run the VI, I do not get button action when I click on the cog wheel.