>Hi Dragan
>
>>I didn't use CB or MM, but have used VFE, which is also based on CB. One thing that I noticed is that SetFocusToFirst() happens before the end of the form.init(), which then forces the form to activate before the end of the init - which had some side effects now and then. Check to see if that is the case, and just try to comment that call (if it's there in the original CB, that is).
>
>Wow, though CB does not have SetFocusToFirst() I have created one for myself and have a very similar name SetFocusToFirstControl() *g* I have it's initial call in Activate() of the form, if it matters.
As long as it's in .activate() and not .init, it shouldn't hurt. The weird flickers and trouble with ActiveX not showing right, and also some bleeding of scrollbars through pageframes used to happen when setfocus() was issued before form.init() was finished. That was in VFP7, though, so this may simply not apply to what you're seeing.