LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling web page from labview

Hello,
I want to call a webpage from inside of a text box. Basically, I want to have a hyperlink in the text box that would open in an external browser window. Is there any way to include pictures or graphics inside a text box? Thank you

Brian
0 Kudos
Message 1 of 3
(2,825 Views)
Text boxes do not support HTML in LabVIEW, so you cannot create hyperlinks inside them. However, you can drop an ActiveX web control on your front panel and point it to a small HTML file with your text and hyperlinks. There's a particular way of formatting your hyperlink in HTML to make it open in another browser, but I don't remember that at the moment.

If you're in to kludges, you could try a picture control with your hyperlink inside. Use an event structure to capture the mouse down on the control. Then, use the mouse properties of the picture control to read the coordinates of the click and check those against the known boundaries of your hyperlink. If the click is in-bounds, launch the browser with the desired URL.

As for your second quest
ion re: graphics in text boxes.... Not unless you get very creative with your symbol fonts 🙂 Again, if you want to mix graphics and text (dynamically), use the picture control.

Daniel L. Press
PrimeTest Corp.
www.primetest.com
0 Kudos
Message 2 of 3
(2,825 Views)
Part 2,

If you can find a suitable font, you can get some graphics.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,825 Views)