Is this the way MDI is supposed to work?

  • Thread starter Thread starter **Developer**
  • Start date Start date
D

**Developer**

I can live with this but I wonder I I'm somehow causing it or can override
it.
I'd appreciate hearing that this is expect behavior or otherwise.

Thanks


I have two forms - Form1 and Form2
On each there is a RichTextBox - Box1 and Box2

If Form1's title box is highlighted and I'm typing into Box1 and I click on
Box2, typing will then go into Box2 but Form2's Title box will NOT be
highlighted.

If Form1's title box is highlighted and I'm typing into Box1 and I click on
Form2's title box, typing will then go into Box2 and Form2's Title box will
be highlighted.

And the reverse is true, that is:

If Form2's title box is highlighted and I'm typing into Box2 and I click on
Box1, typing will then go into Box1 but Form1's Title box will NOT be
highlighted.

If Form2's title box is highlighted and I'm typing into Box2 and I click on
Form1's title box, typing will then go into Box1 and Form1's Title box will
be highlighted.
 

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