10-08-2009 09:43 PM
I'm developing a program that will be run remotely.
Next to each control or indicator, I have a little help button that opens up a URL with some information explaining what the control does or indicator means. The problem is that I don't want each help button to open up in a new window. I'd like to have the help info open in a pop-up window. If the user then clicks on a different help icon, then the info in the pop-up window changes (sort of like Labview Context help) as opposed to having a bunch of windows open.
Is there anyway to control which window the URL opens in?
Brian
10-09-2009 12:13 AM
If there isn't.. why not create a separate VI with embedded webpage (see shipped examples).
When a user presses a help button you main program passes the relevant URL to this separate VI which opens the webpage in the embedded explorer.
Out of interest.. your information about what your buttons is located each at a separate web page?
Cheers,
Battler.
10-10-2009 06:30 AM
Why not use the conventional help mechanism?
Showing what the control does or indicator means is exactly what it is for.
When you add text to a control's DESCRIPTION field, that text is available when the user has help (control-H) turned on.
It handles the window size for you.
If you must use the web mechanism, try using the TARGET attribute in the link code:
TARGET attribute of ANCHOR tag
If that doesn't get it done for you, post some code.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
10-10-2009 04:45 PM
Hi,
How can you include html code when you open a link? Do you have an example of this?
I've just used the Open URL VI included with LV. Is there some other way to do it such as you've described?
Cheers.
10-11-2009 04:01 AM - edited 10-11-2009 04:04 AM
this may help, you should look it up and see if it can be a solution.
10-11-2009 04:03 AM
10-12-2009 06:20 AM
How can you include html code when you open a link? Do you have an example of this?
My bad - I was thinking out of the wrong side of my head.
You can't do that with the OPEN URL vi.
Still, what is it about the conventional help mechanism that doesn't work for you?
Blog for (mostly LabVIEW) programmers: Tips And Tricks
10-13-2009 12:21 PM
10-14-2009 09:47 AM
Hello,
Have you taken a look at this link? Context help would fall into the localized application feature category and would not show up on the remote computer.
-Zach