Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting text in IE without mouse
Message
 
 
À
02/09/2003 17:26:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00825492
Message ID:
00825506
Vues:
16
Cicilia,

You can easily do this without a copy/paste type of operation. You can use the InnerText property of the WebBrowser control. Assuming it's already been navigated to the correct URL:
local loDoc

loDoc = thisform.oIE.Document
if ( type( "loDoc.Body" ) == "O" )
   ? loDoc.Body.InnerText
endif
>Is there anyway you can select a portion of text in Internet Explorer without having to use a mouse. I now you can select All with (ctrl+ A, but You can not use shift and arrow keys to just select a portion of the text in a window.
>
>I am trying to programmatically save a portion of an IE screen into a text file, using VB and WebBrowser control.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform