Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control eh?
Message
 
To
04/11/2010 16:34:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01488307
Message ID:
01488312
Views:
71
>The first two lines of code below work fine. I am not sure why the displayed website is not being selected by the CTRL A. Have I blundered?
>
>THIS._Webbrowser41.NAVIGATE2('http://www.google.com')
>
>THISFORM.REFRESH
>
>KEYBOARD"{CTRL+A}"

Because Webbrowser is not a VFP control.
It doesn't understand KEYBOARD command :-)

maybe (not tested)
#define OLECMDID_SELECTALL 17
THIS._Webbrowser41.ExecWB(OLECMDID_SELECTALL, 0)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform