472,789 Members | 1,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Datagridtextboxcolumn not firing the enter key event


"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.
Nov 23 '05 #1
5 1782
If e.KeyChar = Chr(13) Then
MsgBox("ok")
End If

"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #2
Hi,

"Datagridtextboxcolumn not firing event" <Datagridtextboxcolumn not firing
ev***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...

"PLEASE HELP, I NEED HELP N O W !!!"
You could try ( untested ) :

dgtxtboxcolumn.textbox.AcceptsReturn = True
AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

HTH,
Greetings

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #3


"Eternal Snow" wrote:
If e.KeyChar = Chr(13) Then
MsgBox("ok")
End If

"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #4


"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #5


"Bart Mermuys" wrote:
Hi,

"Datagridtextboxcolumn not firing event" <Datagridtextboxcolumn not firing
ev***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...

"PLEASE HELP, I NEED HELP N O W !!!"


You could try ( untested ) :

dgtxtboxcolumn.textbox.AcceptsReturn = True
AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

HTH,
Greetings

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.


Nov 23 '05 #6

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

Similar topics

0
by: Jax | last post by:
I am using a class that inherits from the DataGridTextBoxColumn. It adds a combo box into the column where it displays a selection of choices. The problem I have is that when this comboBox loses...
2
by: Lee Swanson | last post by:
I have a form with a single field and a submit button with a server event. If I click the submit button, the event runs and everything is fine, if I hit enter in the form, the server event does...
3
by: Tim Thomas | last post by:
Hi, I am very new to .NET and am in the process of building my first web application. I will briefly describe what i am trying to achieve: I have a system where suppliers register their...
1
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
1
by: mdipiet | last post by:
I've got a form that is supposed to validate data entry from a bar code scanner. The scanner is set up to add a carriage return at the end of the data in the barcode, which should fire the...
0
by: Aaron Smith | last post by:
Is there an easy way to do a numeric mask on a DataGridTextBoxColumn? I need to only allow entry of numeric value and have only one decimal. I already have a subclasses TextBox column that limits...
2
by: Lenster | last post by:
Environment --------------- Visual Studio.NET 2003 Version 7.1.3088 ..NET Framework 1.1 Version 1.1.4322 SP1 XP Professional 5.1.2600 SP2 Build 2600 Problem Description...
9
by: runner7 | last post by:
Can anyone help me with how to programmatically fire a keydown event in Firefox?
1
by: bigijoseph | last post by:
Please help : page load event is not firing. -------------------------------------------------------------------------------- Hi, I am a new to .net. I am trying to learn it. I tried the...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.