-
-
Some questions.
Does the form close when entering data or when exiting the control. Are you tabbing out or hitting enter? Is there any code in the textbox events? Is there any code trapping keypresses in the form events?
...joe
-
Hi Joewmaki,
I made a very careless and silly mistake in my coding.
I have finally fixed it by changing these coding
Private Sub FrmOrderInput_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
l
If e.KeyCode = Keys.Enter Then
me.close
End If
End Sub
To these working Coding:
Private Sub FrmOrderInput_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Escape Then
me.close
End If
End Sub
Thank you very much for trying to help me. You are awesome.
Cheers,
Lennie
Similar Threads
-
Replies: 7
Last Post: 11-03-2009, 07:59 AM
-
Replies: 1
Last Post: 10-21-2009, 06:56 PM
-
By vikassheelgupta in forum Java
Replies: 0
Last Post: 07-22-2005, 05:35 AM
-
Replies: 3
Last Post: 03-07-2005, 02:34 AM
-
Replies: 0
Last Post: 05-29-2002, 05:56 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks