Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus Method does not work in IE Automation
Message
From
26/07/2016 16:13:15
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01638679
Message ID:
01638682
Views:
57
This message has been marked as the solution to the initial question of the thread.
>Am working on Auto-Filling in a Web Page with Form Fields via IE Automation. Due to the nature of the Web Page, several of the Fields need to be filled-in via Sending Keys. Prior to Sending the Keys, need to set the Focus to a particular Form Field. Problem is the Focus method does not appear to be working in IE 11. Have seen mention of this online.
>
>Anyone dealt with this issue?

If your have code like somecontrol.someevent(), you must change it into somecontrol.someevent(.T.) in newer versions of IE. Actually, any parameter will do, but you must provide one. For whatever reason I prefer .T. You can read more about this problem at http://www.west-wind.com/wconnect/weblog/ShowEntry.blog?id=912
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform