Ok, then please open issue about it and attach example as you attached in your e-mail, so then I'll commit patch and connect it to that issue (so it's easier to track possible regressions).
I found a problem. See the attached example. With Form2 works like a charm after patch applied, but with Form1 works like before patch.
Gabor
Show_SetFocus2.tar.gz
Description: application/gzip
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus