LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding Web Browser in Nested Tab Control

See the attached test.vi code....

I seem to see the web browser overlaying the tab controls instead of
"staying" on the tab control it is nested in (in my case, tab control3, the lowest level). Occurs erratically in edit mode AND run-time. I can deal with it in edit mode but not in run-time.

Thanks,

Don
0 Kudos
Message 1 of 5
(3,201 Views)
Hi Bill,
what you describe seems to be a misfunction of tab control. I experienced similar problems in LV6 partly fixed in 6.0.2. In LV 6.1 tab controls are more stable.
Unfortunately I could not open your example, it crashes LV.
I have LV 6.1, Windows 2K and Internet Explorer 5.5.
Anybody else has the same problem?
Alberto
0 Kudos
Message 2 of 5
(3,201 Views)
I had the same problem opening the example. I also believe that most of the problems have been fixed in 6.1. I put an ActiveX container with the Web Browser object onto a tab control and didn't see any problems.
0 Kudos
Message 3 of 5
(3,201 Views)
This problem is occurring on labview 6.1 w/ win2K. NI has confirmed the problem and claims it is to be fixed in the next version of LabVIEW.

I am not sure why test.vi is crashing on you guys. Here, try this:

Open a new VI. Nest 3 tab controls on the FP. Cut and paste the diagram code from the attached VI onto your diagram, and then place the web browser control on the innermost tab control on page 2. Put a while loop on your diagram with 'wait (ms)' fx (use 100 msec delay) inside it and 'stop' button attached to terminal (terminal should be set to stop when true). Browswer code you originally pasted in should be outside the while loop. Now run the code. If it behaves ok, then close it, exit labview, and reopen. I have problem
s both in edit mode, and most importantly, in run mode.

I had originally tried using property nodes to make the browser visible only when the specific tab was selected containing the browswer. It worked first time, then I closed the VI, reopended, had property node set to false and it still showed thru other tabs!! So it was an erratic problem that I cannot control.

My workaround at this point is to have a separate subVI called dynamically from the tab control page. The front panel of the subvi contains the activeX browser container and I give the subvi windows always on top property with winutils VIs. This way it becomes a floating window. It is aborted and closed when user leaves the tab page.

I also have no idea why the identifier is saying I am Bill Thompson as I am Don Roth (donald.j.roth@nasa.gov)

Sincerely,

Don
0 Kudos
Message 4 of 5
(3,201 Views)
Hi Don,

I didn't realize that you had nested tabs. I can now see the same thing as you with the browser visible.
0 Kudos
Message 5 of 5
(3,201 Views)