User Control inserts text in wrong place

  • Thread starter Thread starter RvGrah
  • Start date Start date
R

RvGrah

I have a user control with eight text boxes, if I start typing in the
first text box in the tab order all is well, but if I mouse click into
another box and start typing the text goes into the frst box rather
than the one I put the focus in. The caret is in the right box, though
no in the right place, but the text appears in the wrong box.

Using VS Pro 2005 in Windows Vista, with sp1 and sp1 vista refresh
beta.

Bob Graham
 
I have a user control with eight text boxes, if I start typing in the
first text box in the tab order all is well, but if I mouse click into
another box and start typing the text goes into the frst box rather
than the one I put the focus in. The caret is in the right box, though
no in the right place, but the text appears in the wrong box.

Using VS Pro 2005 in Windows Vista, with sp1 and sp1 vista refresh
beta.

Bob Graham

Code sample perhaps?
 
On Feb 26, 2:14 pm, "RvGrah" <[email protected]> wrote:
No code at all. Create a new controllibrary project, place two text
boxes in it, run the project in test container, click in the second
text box and start typing. Text appears in the first box while the
caret blinks in the second box.

Just re-created the scenario in a fresh app.

Bob
 
Strangely it seems to work properly in the host application, only
misbehaves in VS "Test Container"

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top