>Hi, James!
>
>I think Thomas made a joke <vbg> - there is no really reason against combining controls in containers as a class!
>
>BTW: I can follow Erics answer - there must be another reason.
>
>Try the following:
>- Activate the debugger.
>- Activate "Event tracking" before clicking
>- Click the control
>- Deactivate "Event tracking"
>- Check out which events fired!
I found it. I was using a class I got from a book and it has this code in the gotfocus() event. I commented out setfocus() and it works fine.
dodefault()
WITH This
.cOldExact = SET( 'EXACT' )
ENDWITH
Thanks for all your help.