hello ! look , for example i have 2 textboxes in my vb form, i want that when i press enter key the focus move from 1st textbox to 2nd textbox , i use this code on my every control to move focus [CODE] if e.keychar = chr(keys.enter) then textbox2.focus () endif [/CODE] can any one help me to make a function to do same action when i press enter the focus move on next control , this sort of coding take so much time , :( please help me Best Regards M.Waqas Aslam
|+0 forum 4|
Hi Guys, Probably a simple one but im struggling to find it in VS 2008. How do you enable a VB program to allow a user to press enter rather than click on the button? I have a text box which the user types a number and then clicks a button which runs the script. I want the user to be able to either press enter once they enter a number or click on the button. I thought there was a setting in properties to do this but I am struggling to find it - also no joy searching online …
|+0 forum 6|
Sorry about asking all of these questions, but I am making an app and I have had a request for when the user types into the text box he can automatically hit Enter and it will navigate to the specified destination. However I have tried EVERYTHING and I cannot get it to stay default when the user clicks the text box. So it's like this. The user clicks the text box. The GO button does [U]not[/U] stay default. How can I get it like this? Please help.
|+0 forum 2|