473,320 Members | 1,930 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,320 software developers and data experts.

The lost ENTER key...

I have put up a previous post about this issue, but since I can't seem to
re-product the problem in any kind of simple example, no one has been able to
help. The basic problem is this: I have a user control, it handles the
KeyPress event, looks for the Enter Key, and does something. It works fine
most of the time. In my application, If the form it is on looses focus, then
you return to the form, the key press event is not called if the key that
was pressed was the enter key. (There is NO accept button on the form; The
AccpetsEnterKey is set to true; KeyPreview on the form is false)

Anyway, since we can't fix the REAL problem, I need a work around. Is there
any way to capture the keypress event on a deeper level than the form? (I
tried adding an event handler to the .findform of the control, but that does
not work either.) Is there some kind of SYSTEM event I can latch on to?

Thanks.

--Zorpy
Nov 22 '05 #1
0 728

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

Similar topics

5
by: RBriggs416 | last post by:
In an attempt to clean up my form I went to TOOLS STARTUP and removed check marks from the following: Allow full menus Allow default shortcut menus Allow built in toolbars Allow toolbar/menu...
37
by: Tim Marshall | last post by:
From http://www.mvps.org/access/tencommandments.htm 9th item: Thou shalt not use "SendKeys", "Smart Codes" or "GoTo" (unless the GoTo be part of an OnError process) for these will lead you...
5
by: singhm | last post by:
Hi guys so I have a trianlge program having hard time finishing this though, I have to develop a program which is the following: Write a program that will allow the user to enter the 3 lengths...
6
by: 05l8kr | last post by:
I'm suppose to edit the function called swap_values so that it receives three numbers (not two nubmers) called first , second, and third. These numbers will not be in any special order (for example...
16
by: jamesnkk | last post by:
I am trying to validate a QTY entry in a form , if user did not enter anything or 0 , I will prompt for a message and the cursor return to the QTY entry column. I have tried Lost Focus in the...
0
by: Digambar Borse | last post by:
Hi, I have a toolbar that contains textbox (msoControlEdit) object. when i write something in textbox, then change the cursor location another place, the text has been lost. But after writing, if...
1
by: Cage26 | last post by:
First, I need to rewrite the program to incorporate functions. And there should be a value returning function that returns an int that the user entered. It will be called 5 times, once for each...
1
by: BrenB | last post by:
I'm trying to trap for an event in my user control so that I can manage the state of the user interface. The control is used to enter data into a database. The control contains a tab control...
17
vikas251074
by: vikas251074 | last post by:
I am storing value by the following <td>Name of Person</td> <td><input type="text" width="100px" name="vname" value=<%=vname%>> </td> When I enter 'Vikas Kumar' and press enter key only...
0
vikas251074
by: vikas251074 | last post by:
I am using Oracle 9i and ASP I have empno, empname, designation, category, dob. Category have two option 'S' or 'O' When I enter empno, empname, designation, category and dob and when I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.