I am new to programming and our teacher asked us to write a simple math skills problem for elementary school students. I have an ok one built but I want to do more. There is one thing that keeps bugging me. Whenever you input the answer to the problem into the text box you always have to the click enter(command button) button on the form at the bottom. Is there anyway so that when you type the answer all you have to do is press enter on the keyboard to activate the actually enter button on the form? Sorry if you can't understand this, it is hard for me to explain. And after you press the enter button on the form, I have a next button on the form come up to go to the next problem. Is there anyway to activate that also by pressing enter on the keyboard? Thanks in advance. (I would post my program but I am afraid of someone stealing it.)
Thanks RobDog888!
Last edited by Cerlick; Nov 5th, 2003 at 08:07 AM.
Set the command buttons .Default property to True.
This will put a heavy rectangular focus around the button. This is
how you can tell which button is the default.
Last edited by RobDog888; Nov 5th, 2003 at 12:20 AM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.