Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting text in IE without mouse
Message
 
 
To
02/09/2003 17:26:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00825492
Message ID:
00825506
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform