Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IExplorerObject disable input
Message
From
27/03/2008 08:55:39
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01305495
Message ID:
01306114
Views:
12
>>Try this code. In the form you cannot Ctrl+Mousewheel to make the text grow or shrink. Now try the same URL in IE. The text will grow or shrink. I'm using IE7.
>>
>>
>>Public oForm
>>oForm = Createobject('form1')
>>oForm.Show()
>>
>>Define Class form1 As Form
>>  Top = 0
>>  Left = 0
>>  Height = 500
>>  Width = 800
>>  DoCreate = .T.
>>  Caption = "HTML sample"
>>  Name = "Form1"
>>
>>  Add Object htmlviewer As OleControl With ;
>>    Top = 0, ;
>>    Left = 0, ;
>>    Height = 500, ;
>>    Width = 800, ;
>>    Visible = .T., ;
>>    Name = "HTMLViewer", ;
>>    OleClass = 'Shell.Explorer'
>>
>>  Procedure Init
>>    With Thisform.htmlviewer
>>      .Navigate2('http://maps.google.com')
>>      Do While .ReadyState # 4 && Wait for ready state
>>      Enddo
>>    Endwith
>>  Endproc
>>
>>Enddefine
>>
>
>And it works for me as expected, changing the font size with the mouse wheel.
>Let us go to the details.
>
>Did you try your code on other machines, or on the network?
>Did you try to put the WebControl on the form in the form designer?
>What is your IE version?
>What is your Windows version?

Yuir,

I've tried on my home PC and work PC and both fail.
I've tired putting the control on a form and still a no go.
I'm using IE7.
My OS on both machines is XPPro SP2.
I'm going to test Dragan's suggestion to use the -3 to 3 settings.


Dragan,

Do you have a URL on the web that proves it can work in the browser control?
How is it that IE can adjust the text size for ANY site I visit but the browser control cannot?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform