Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web browser
Message
De
26/04/2000 21:18:31
 
 
À
26/04/2000 10:57:16
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00363155
Message ID:
00363920
Vues:
13
>Hi,
>I am not getting ur below line.
>
>you may have to tab to get to a certain form field or other element.
>
>Please help me or send ur sample code.
>

Are you instancing a form that contains the WebBrowser control, which you then point to the created HTML document, or are you launching an actual, separate and independent instance of IE? If you're launching IE, you need to set focus to the IE instance - you may need something like Shell.Application's Windows collection, or the Wscript.Shell's AppActivate method to shift focus from your VFP app to the running Web Browser instance.

>Regards
>Mallari
>
>>>>>Hi All,
>>>>>
>>>>>I'm using IE5 webbrowser control to preview my report. and I'm using
>>>>>HTML for that. but when i show preview the focus is not at the
>>>>>IE control even if its tabindex is 1. i have to click mouse to see
>>>>>complete report.
>>>>> anybody know how to setfocus on IE5 webbrowser.
>>>>>
>>>>
>>>>How about oIE.SetFocus()?
>>>
>>>Erik,
>>> thanks for replying, but it doesnt work.
>>
>>Works for me, what are you seeing? Calling the control's SetFocus puts focus on the browser, you may have to tab to get to a certain form field or other element.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform