[Gambas-user] setfocus eats way too much time

Jean-Yves F. Barbier 12ukwn at ...626...
Fri Aug 14 23:15:03 CEST 2009


Hi list,

I've got a popup that is a small frame containing a TextArea & 2 buttons.

In order to do things right, I've got a default text into TextArea; but to
make sure typing will fill the TextArea, I must do 2 things: 
TextArea1.SelectAll()
TextArea1.SetFocus()

however, SetFocus() introduce a waiting time up to 1.5 seconds before frame shows!

is there a way to avoid that?

JY
-- 
And that's the way it is...
		-- Walter Cronkite




More information about the User mailing list