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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes.... this works fine! Thanks!
ASKER
Yes, I'm sure ThreadReady event have fired because there is a Shape.Color call to indicate thread is ready and that works.