Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web browser control
Message
 
To
26/08/2009 09:05:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01420704
Message ID:
01420737
Views:
61
Thank you very much


>>Hi all,
>>
>>I have dropped the web on themed control (available at codeplex) it's all good stuff. However the vertical scrollbar is missing when it should be there. Any ideas how I can force it to show please.
>
>
>Public oForm
>Local lcHTML
>oForm = Newobject('HTMLViewerForm')
>oForm.Show
>With oForm.htmlviewer
>  .navigate2("about:blank")
>
>  TEXT TO lcHTML noshow
><html>
><body scroll="no">
>Remove <font color=#FF0000>scroll="no"</font> from body element<br><br>
><input
>  type="button"
>  value="Click here to toggle scroll bar"
>  OnClick='return body.scroll=(body.scroll=="yes"?"no":"yes")'/>
></body>
></html>
>  ENDTEXT
>
>  .Document.Write(m.lcHTML)
>Endwith
>
>Define Class HTMLViewerForm As Form
>  Height = 500
>  Width = 800
>  Add Object htmlviewer As OleControl With ;
>    height = 500, Width = 800, Anchor=15, ;
>    oleclass = 'Shell.Explorer'
>
>  Procedure htmlviewer.Refresh
>    Nodefault
>  Endproc
>Enddefine
>
Cetin
Mathias Banda

Time is longer than a rope.
Previous
Reply
Map
View

Click here to load this message in the networking platform