Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Enter key behavior

Enter key behavior

Enter key behavior

Ok, I have 2 questions that I am struggling with. First, due to limitations of the built-in lookup dialog box, I have created my own. The form opens on cntrl+spacebar likes its supposed to, and I can select an entry and click the OK button for it to be inserted into my primary form.

First question: like in the default lookup dialog box, I would like to be able to use the enter key to insert the value, and not have to press the OK button at the bottom of the form. I am a keyboard oriented person and hate to have to leave the keyboard to grab the mouse for this. I know this can be done, it just escapes me.

Second question: like in the default lookup dialog box, I would like to be able to type the first few letters of the entry that I am looking for and have the table jump, scroll, or filter directly to the entries that begin with those letters.

My form is simple, I created a blank form which is a modal dialog box style, on which I place a continuous table with fields that are populated by the values in a different table. (Site, City, State, Code) I want to be able to begin typing the site name that I am looking for and once found hit the enter key to select it.

Any help would be appreciated.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close