Re: How to set default textbox on form?

2012-04-24 Thread Thomas Broyer
On Tuesday, April 24, 2012 4:15:35 AM UTC+2, Blake wrote: Greetings, Is there a way to set which widget (usually a certain textbox) that should be the default widget with focus when a new form appears? Basically when the new form appears, if the user just starts typing, the input should

Re: How to set default textbox on form?

2012-04-24 Thread Blake McBride
Works if I change: theTextBox.focus(); into: theTextBox.setFocus(true); Thanks!! Blake McBride On Tue, Apr 24, 2012 at 5:13 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, April 24, 2012 4:15:35 AM UTC+2, Blake wrote: Greetings, Is there a way to set which widget

How to set default textbox on form?

2012-04-23 Thread Blake McBride
Greetings, Is there a way to set which widget (usually a certain textbox) that should be the default widget with focus when a new form appears? Basically when the new form appears, if the user just starts typing, the input should appear in the widget that was specified as the one with the

Re: How to set default textbox on form?

2012-04-23 Thread Qian Qiao
On Tue, Apr 24, 2012 at 10:15, Blake McBride blake1...@gmail.com wrote: Greetings, Is there a way to set which widget (usually a certain textbox) that should be the default widget with focus when a new form appears?  Basically when the new form appears, if the user just starts typing, the