LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Active X web browser vertical scroll bar

Does anyone know how I can hide the vertical scroll bar on the right of the
Active X Web Browser?

Bill
0 Kudos
Message 1 of 6
(3,836 Views)
I hate to say it, but I think that you are going to have to cover it with a decoration. You can make the decoration the color of the background. I recommend using an older decoration, as it will be capable of being disguised.

I tried to find a property or method to do this, but none were available. I think you are actually going to have to hide it behind something.

If you find a better solution, please post it here.
0 Kudos
Message 2 of 6
(3,836 Views)
I've tried to cover it as you suggest... but it seems like Active X containers are "always in front".

Did covering it up work for you?
0 Kudos
Message 3 of 6
(3,836 Views)
Oops.

No, it was stuck in front.

This seems to be a limitation with ActiveX. Perhaps one day, hopefully soon, NI will put a browser (XML, HTML, etc) in LabVIEW. Until then...you got what you got and you got to work with it...
0 Kudos
Message 4 of 6
(3,836 Views)
Bill,

The bar appears as soon as the contents don't fit the container anymore.

If your displaying a html file of your own, make the body tag like this:



This will remove the scrollbar.

I'm not sore if it is possible to remove the scrollbar in the container for
every page you load. The scrollbar is a property of the page, not of the
container!

If you need it for any document, take a look at the Document property.
Convert it to a MSHTML.DispHTMLDocument, and use the ExecCommand method.
This might be a way to hide the scrollbar (but I cannot garantee it). Close
the ref!

Regards,

Wiebe.


"Bill" wrote in message
news:ukrn4k5642uf27@corp.supernews.com...
> Can anyone figure out how to hide the vertical scroll bar aft
er putting a
> Microsoft Web Browser component in an Active X container? (p.s. It looks
> like it's not there at first... but, as soon as you run the VI it
appears!)
>
> Thanks,
> Bill
>
>
0 Kudos
Message 5 of 6
(3,836 Views)
Hi,

Cover it up with a second, empty WebBrowser container!

You'll have to make the cover up container first!

Offcouse, the 3d bounding box effect is gone. To hide the horizontal and
vertical scroll bar, make three containers.

Regards,

Wiebe.
"Labviewguru" wrote in message
news:50650000000500000098920000-1027480788000@exchange.ni.com...
> Oops.
>
> No, it was stuck in front.
>
> This seems to be a limitation with ActiveX. Perhaps one day,
> hopefully soon, NI will put a browser (XML, HTML, etc) in LabVIEW.
> Until then...you got what you got and you got to work with it...
0 Kudos
Message 6 of 6
(3,836 Views)