How to access webBrowser:ScrollBarsEnabled?

Posted by wenyu on 08-Jul-2014 11:02

On OpenEdge Release: 11.3.0, through wbx/cjweb.wrx and a control-frame, I could access webBrowwer:bgcolor but not scrollBarsEnabled. Is this property unavailable?

Many thanks,

All Replies

Posted by Rob Debbage on 11-Jul-2014 02:08

Hi,

I am afraid that is not 100% clear what version of the (Microsoft, I assume) Web Browser control you are trying to use.

Since you mention a .WRX and Control-Frame, it sounds like you are using the Web Browser ActiveX control. However, thiss control does not have a scrollBarsEnabled property (or a BGCOLOR property). The scrollBarsEnabled property is only part of the .NET version of the Web Browser control. The following MSDN pages have more information about the available features of these controls:

Web Browser (ActiveX)

msdn.microsoft.com/.../aa752085(v=vs.85).aspx

Web Browser (.NET)

msdn.microsoft.com/.../System.Windows.Forms.WebBrowser(v=vs.85).aspx

Kind regards,

Rob

Posted by wenyu on 11-Jul-2014 03:50

Thanks, Rob,

That cleared it for me as I had presumed  I was dealing with .Net object.

Kind regards,

Wenyu

This thread is closed