04-02-2009 08:59 AM
I want to show a message over the front panel, saying for example "This is a demo version".
So I use a string indicator, and I made its background transparent.
The problem is that when I click with the mouse over this message, the indicator takes focus (obviously) and so I can't access to the objects behind it.
How can I have a message "over-impressed" the front panel without loosing the ability to click on the front panel objects behind it?
04-02-2009 09:03 AM
Hi Vix,
you can read the event from your string indicator and send it to the object behind it.
Hope it helps.
Mike
04-02-2009 09:09 AM
04-02-2009 09:19 AM
you can read the event from your string indicator and send it to the object behind it.
I know how I can read an event from the indicator, but I don't know how I can send it to another object...
04-02-2009 09:39 AM
04-02-2009 10:01 AM
If I use a background image, the front panel controls hide the message, but I want the message partially hide the controls, instead.
I see this nice feature when I installed the evaluation version of LabVIEW 8.6 (see attached)
04-02-2009 11:01 AM
I doubt that's done with any kind of control or indicator or decoration. I suspect that's being done directly in the window's paint event (or its equivalent on other platforms) after all other front panel content is drawn.
You can probably hook into an OS call to draw your image on the front panel's graphics pane.
You can also submit a suggestion to the Product Suggestion Center.
04-03-2009 02:47 AM
Hi Vix,
you can disable the string control so that it will not focus even if you click on it. In order to set this property, you have to right click the string control and select Advanced >> Enabled state >> Disabled.
In attachment there is an example of this behaviour.
Best regards,
Serena M.
NI Application Engineer
04-03-2009 02:55 AM
Sorry, this is the right one!
Serena
04-03-2009 03:11 AM
Just saw this post.
Just right click the control navigate to advance>>Enabled state select the disabled option (not disabled & greyed). This option will restrict the control from receiving the mouse clicks from user and will not get the focus. Easy one