473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Is this the way MDI is supposed to work?

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.

Nov 17 '05 #1
1 1248

REVISED
I can live with this but I wonder I I'm somehow causing it or can fix 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 on Form1 and Box2 on Form2
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.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: aa | last post by:
Is a PHP variable supposed to be seen in a .js file included into a .php file? I have a client side javascript code stored in a .js file which is included into a PHP file using <script...
2
by: MiniDisc_2k2 | last post by:
I was writing a class and came up to something that I needed to do. I needed the class to delete itself inside a function. I realized that this is illegal, and thought of a way around it. Later,...
2
by: Gregory L Priem | last post by:
i have been unable to get any of the classes in the System.Security.Cryptography namespace to work on my w2k machine, so i created a vmware session starting from scratch, to remove any possible...
12
by: Charles Law | last post by:
If I draw a rectangle, 6 inches by 2 inches, on a user control with a PageUnit of Inches, I get a rectangle of 7 by 2.2 inches. Is this what people would expect? I would have hoped that it was at...
5
by: Rob Somers | last post by:
Hey all I am writing a program to keep track of expenses and so on - it is not a school project, I am learning C as a hobby - At any rate, I am new to structs and reading and writing to files,...
1
by: amfr | last post by:
This code always returns a ValueError when it is not supposed to: i = rest.rfind('?') Error: ValueError: need more than 0 values to unpack rfind is not supposed to generate an erro, just...
14
by: spibou | last post by:
What is strcmp supposed to return if one or both arguments passed to it are NULL ?
5
by: Keith | last post by:
Hello all, I have a C# Windows Forms app. It is in namespace App.GUI. It builds to Nav.exe. I have entered an application level setting using the designer. Its type is string, name is "FOO"...
9
by: Cliff | last post by:
I've got a number of SNMP devices scattered around the globe that I want to get some information off.. I've got a couple of classes whcih get a quite complex table together from SQL and SNMP...
0
by: williamr4j | last post by:
Very first thing, after preloader, is a blurry image that is supposed to get clear when mouse goes over the image. Problem is, the image that is clear will not, when previewing the movie, move from...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.