Link to home
Start Free TrialLog in
Avatar of ejla51
ejla51

asked on

TEdit.SetFocus trouble

HI,
Something that I thought would be simple thing...
I  execute a Thread.  OnThreadReady event make call to move focus, Edit2.SetFocus;
When the thread is finished, the original Active Control (Edit1) still have focus ...
Other things does work fine, but SetFocus.
What's  that causes trouble?
ASKER CERTIFIED SOLUTION
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ejla51
ejla51

ASKER

Thanks for suggestion... Have to try this - but...
Yes, I'm sure ThreadReady event have fired because there is a Shape.Color call to indicate thread is ready and that works.
Avatar of ejla51

ASKER

Yes.... this works fine! Thanks!