LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the frame from an ActiveX Web Browser window

Solved!
Go to solution

I'm using a web browser window to display content from a web application in my LV front panel.  I'd really like the content to appear as native parts of the front panel rather than being inside a frame.  Is there a method that will allow me to hide or remove the frame from the ActiveX control?  I've tried to make it a custom control and edit the decoration out but that does not seem to work.

0 Kudos
Message 1 of 5
(3,639 Views)

I can in 8.2 (and newer) drop a Web browser directly from the activeX meny, else you can drop a ordinary ActiveX container, set both colors to Transparent in the toolbox and paint the border.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 5
(3,630 Views)

It seems that a web browser control is required rather than just an ActiveX container.  I can paint the ActiveX container as you state but not the web browser.  It behaves differently.

0 Kudos
Message 3 of 5
(3,626 Views)

Quite right, in my 8.2 the web browser is already borderless (probably transparent). If your web browser window doesn't look good you should be able to insert it into the activeX one, the other should be a special case.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(3,609 Views)
Solution
Accepted by topic author kc64

My solution is to put the web browser control into a sub-VI and include it in the main front panel using a sub-panel.  By properly framing the front panel of the sub-VI, I can hide the border of the web browser control.

Message 5 of 5
(3,532 Views)
Products may include a surcharge. Surcharge is calculated during checkout for U.S. customers. Learn more