10-16-2008 03:10 PM
I can make a picture control transparent before run time and it works fine.
I just can seem to be able to do it programmatically
Solved! Go to Solution.
10-16-2008 05:04 PM
If you want to swiitch the entire control between visible and invisible, use a property node with the "visible" property.
If you have something more complicated in mind, please clarify. 🙂
10-16-2008 08:00 PM
I programatically make controls appear and disappear using the "Visable" property node feature.
I want to place a picture control on the front panel that is visible but the content is transparent.
It is very easy to do pre-runtime. I want to effect this feature while the vi is running.
10-17-2008 05:40 AM
10-17-2008 05:56 AM
Hi, Ben,
I'm sorry for stupid question, but how can you make picture control transparent in Edit Mode ("before run time" in your terms)? Can you explain it, please?
Thank you,
Andrey.
10-17-2008 07:40 AM
10-17-2008 07:40 AM
10-17-2008 07:41 AM
Place a picture control on the front panel, select the paint tool, select "Transparent" which is a small "T" in the upper right corner then fill
the interior of the control. What I want to do is to do this when the vi is running, making the control go from from having content to being transparent.
You can create a color box and use the "Transparent" property node.
You can set the color box to transparent using the paint tool.
you can wire this to the draw rect's fill input. It WILL work
for any color but transparent. if you create a transparent control, it will
retain this property after the vi runs. You can then add content to the control, but
I can't set it back to transparent.
10-17-2008 07:45 AM
Ben_01880 wrote:...
. You can then add content to the control, but
I can't set it back to transparent.
Have you tried the "erase" proprty with a value that says erase once now?
Ben
10-17-2008 09:21 AM
The erase first property will work as long as you start with a transparent control,
if it has a fill it won't . I would like to be able to apply transparently during runtime.
Here is what I got so far.