Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / February 2005

Tip: Looking for answers? Try searching our database.

Is this a bug ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fei - 23 Feb 2005 14:23 GMT
Hi,

   I got a very strange problem. Please do followings

1. Create Form1, Form2, Form3
2. Make Form1 as a MDI Parent while Form2 and Form3 are mdichild, and put
two buttons, button1 and button2, on Form1
3. button1 will open Form2, and button2 will open Form3
4. Put a TextBox in Form3
5. Put Debug.WriteLine("Test") in Validating event of Textbox mentioned in
step4
6. Let's run this app, starting with Form1
7. Open Form2, and Form3 as mdichild Forms.
8. Make TextBox in Form3 have focus, then Tab off this control we should see
one line in output window.    ...Test....
9  Make TextBox in Form3 have focus ---------- This is very important
10. Let's use Ctrl-Tab to switch to Form2, then switch back to Form3.
11. TextBox should still have focus.
12. Then modify something in the TextBox on Form3
13. Please tab off.  This time, Validating event is not fired up !!!!!! why
?

    This happens to me everytime. Do I miss something ? Or this is a bug ?

    Thanks ! Please help me out on this problem

Fei
Andy Mortimer [MS] - 23 Feb 2005 16:47 GMT
Hi,
I can't get this to repro (Visual Studio.NET 2003 .NET Framework 1.1 SP1.
You will need to specify version of compiler you are using, .NET Framework,
operating system and all related service packs. You will also need to
specify every line of code you add. Thanks.

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.