For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2005 > Up Down Key









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Up Down Key
triton630

2005-01-29, 3:57 am

Using VS, C#, CF 2003
I've got a combobox and a multi-select textbox. When I click the up and
down keys it move from the combobox to the textbox and then back again. I
want to capture the up and down key in the textbox so that I can scroll up
and down and not move to the previous control (the combobox). Is this
possible? How would I accomplish this. Thanks.
Brian Norman

2005-01-29, 8:57 am

Hi

Use the onKeyDown event of the textbox to capture the keypress and do
whatever you want in that:

http://wiki.opennetcf.org/ow.asp? C...ctionP
ad


Brian Norman
www.bbpsoftware.co.uk

"triton630" wrote:

> Using VS, C#, CF 2003
> I've got a combobox and a multi-select textbox. When I click the up and
> down keys it move from the combobox to the textbox and then back again. I
> want to capture the up and down key in the textbox so that I can scroll up
> and down and not move to the previous control (the combobox). Is this
> possible? How would I accomplish this. Thanks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com