How to focus curser from a text box whose multiline property is set to true to another text box on pressing the enter key two times in the textbox with multiline=true ?

Jan 18 2008 2:36 AM

Hi Sir

I have an windows application in C# VS 2005.

 

I have a text box on a form whose multilane property is set to true

I am using this textbox for entering some address.

When I finished typing address in this textbox and press enter key two times consecutively (ie pressing enter key two times continuously) the curser should get focused to the next textbox control in the Form.

Can anybody help me by giving the code snippet to achieve this functionality?

Please mention on which event handler I should write the code.

Thanks and Regards,

-mjm


Answers (1)