Thread: Focus
View Single Post
  #1 (permalink)  
Old 03-21-2008, 01:24 PM
pmu5757's Avatar
pmu5757 pmu5757 is offline
Knows the basics
 
Join Date: Sep 2007
Location: Metz (France)
Posts: 53
Default Focus

Hello !
First, excuse the poor english of a frenchy...

I'm making a program that ask questions to the user.
The user must type the answer in a textbox, and then click an OK button to check if the answer is right or not.
To make the answer easier to type, I've set the focus on the answer textbox.
But it's impossible for the user to type enter instead ok clicking ok because the focus is not on the ok button.
Does it exist a solution to make it possible ?

Thank you

Pascal.

Last edited by pmu5757 : 03-21-2008 at 01:26 PM.
Reply With Quote