How to get arrow keys to work inside of textboxes?

gpraceman
04-08-2003, 02:54 AM
How do you get the right and left arrow keys to move the cursor along the text in a textbox? I've tried playing with the teextbox settings but haven't gotten it to work.

Also, how can I get the up and down arrow keys to navigate along the list of items in a combobox?

dianecandice
04-08-2003, 03:03 AM
you can use the keydown event of a textbox.

select case KeyCode
case 37
'left key
case 38
'up key
case 39
'right key
case 40
'down key
end select

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum