webbrowser textarea

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a webbrowser object in an Access from and need to complete a html form
that contains a textarea however on hitting return (from anywhere within the
webbrowser control) the focus is moved to the next tab item on the access form
How can I keep the focus in the Webbrowser control?
 
The easiest answer may be to change the behavior for all controls in the
database. Go to Tools|Options|Keyboard Tab and set "Move after enter" to
"Don't move". You can still use Tab to move to the next control.
 
Wayne,
That stops focus moving away but it doesnt send the CR to the control!
How can I 'push' the cr in?
Tom
 
The CR will cause the control to "update", just as it would if you moved off
of the control. If you're trying to insert a second line, try Ctrl+Enter.
 
I just tried a Data Access Page with a textbox on it. It actually turns out
that just pressing Enter, without the Ctrl, gave me a new line in the
textbox. Is this what you're trying to do?
 
Can I upload an example somewhere?

Wayne Morgan said:
I just tried a Data Access Page with a textbox on it. It actually turns out
that just pressing Enter, without the Ctrl, gave me a new line in the
textbox. Is this what you're trying to do?
 
I can't get the Microsoft Web Browser control that comes with 2003 to work
and can't find any instructions for it other than one that says to place it
on a form, nothing that says what to do with it once it is on the form.

Have you tried opening the page in IE to see if the page is capable of doing
what you want?
 
I've checked the page in IE and it works as expected - ie one can put in new
lines quite happily - I can send you the mdb and html or put it up somewhere
for you to play with if you like?
 
Ok, let's give that a try. Compact then zip the file and send it to
(e-mail address removed).
 
Tom,

I played with it a little and as near as I can tell the problem appears to
be a limitation in the ActiveX control. If that is the case, there probably
is no workaround. The text does wrap if you exceed the width of the box, but
there appears to be no way to force a CR.
 
Back
Top