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 General / July 2004

Tip: Looking for answers? Try searching our database.

MDI form and buttons not responding

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jos Driessens - 18 Jul 2004 23:05 GMT
I am writing an order entry app. The main data entry windows is an MDI child window, which contains a tabcontrol with 5 tabpages, each representing a step in the order entry process.
At the beginning of a cycle only a single tab page is shown; when a step is completed the next tab is shown. When an order is entered completely the tab pages are cleared and only the first tab is visible.

For data entry the enter key is used heavily to accept a selection. The focus shifts from one entry field to another and finally to the accept button.
During the first order everything works fine. When the focus is on a OK button and I hit the enter key, the application moves on.

Everything seems to work OK until I enter the second order. The enter key works OK on all entry fiels except for the OK buttons. These buttons respond to a mouseclick, but not to the enter key anymore.
A second observation is that it becomes impossible to close the MDI child window. I see that the form closing event is fired, but nothing happens after that.

This problem is making me crazy. Does anybody have a hint or a solution direction?

Thanks in advance
Sijin Joseph - 19 Jul 2004 13:20 GMT
Can you give some code in the Ok button click event...and other code
snippets from the parts of code involved?

Signature

-Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

> I am writing an order entry app. The main data entry windows is an MDI child window, which contains a tabcontrol with 5 tabpages, each representing
a step in the order entry process.
> At the beginning of a cycle only a single tab page is shown; when a step is completed the next tab is shown. When an order is entered completely the
tab pages are cleared and only the first tab is visible.

> For data entry the enter key is used heavily to accept a selection. The focus shifts from one entry field to another and finally to the accept
button.
> During the first order everything works fine. When the focus is on a OK button and I hit the enter key, the application moves on.
>
> Everything seems to work OK until I enter the second order. The enter key works OK on all entry fiels except for the OK buttons. These buttons respond
to a mouseclick, but not to the enter key anymore.
> A second observation is that it becomes impossible to close the MDI child window. I see that the form closing event is fired, but nothing happens
after that.

> This problem is making me crazy. Does anybody have a hint or a solution direction?
>
> Thanks in advance

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.