>I've teste both code, Marcia's and Ed's.
> It's almost perfect but when I get back to the editbox's page
> it appears on the correct place but right after goes to the top.
> May anybody please test it for me and try to find the problem.
> My head is about to burn...
If your textbox is directly subclassed from the base class, remove the DODEFAULT() from the GotFocus event.