How do I get the Tab key to be treated like a normal character?



How do I get the Tab key to be treated like a normal character?..

Answer / Anuj Kumar

To treat the Tab key as a normal character, handle the KeyPress event of your control and check for the KeyChar being vbTab. If it is, you can use e.Handled = False to allow the default behavior (moving focus to the next control) instead of the beep sound.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

How to compare inserted text in (textbox1.text) with existing database value in (Sqldatasource1) in visual studio 2005 ?

1 Answers  


what are the Control Categories?

1 Answers  


What is the use of Data Form Wizard?

1 Answers  


What type of databases you can access through ADO Data Access Object?

1 Answers  


what is single thread and multithread apartments model?

2 Answers   Ford,


How can you filter out specific type of file using file system controls?

1 Answers  


Is visual basic c#?

1 Answers  


How will you define a function to accept variable number of arguments ?

1 Answers  


Is the Variant type slower than using other variable types?

1 Answers  


What is the use of parameters collection?

1 Answers  


Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset I am not sure of the options given. So please let me know the answer if it is something else.

4 Answers   Infosys,


Difference between ActiveX Exe and Dll.

1 Answers  


Categories