Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus Method does not work in IE Automation
Message
 
À
26/07/2016 16:13:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01638679
Message ID:
01638706
Vues:
50
>>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

Thank you (and Rick Stahl)! - this fixed the problem
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform