Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selecting value from dropdown without using mouse...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi,
I'm using DBLookupComboBox. My problem is that when i select an item from the dropdown list, it doesn't retain the selected value (i.e. when i'm using the up/down arrow key and enter to select).

But when i select it with my mouse it is ok.It just doesn't work when using the arrow keys and enter to select.
I have to use my mouse all the time.

Can somebody help me please.
I want to use keyboard rather than mouse.
 
Try using the OnKeyPress event to capture the value of the selection you want. Check for the ENTER key and store the current ListFieldIndex where ever it needs to go.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top