Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color background textboxes, how to avoid flash of white
Message
From
17/08/2006 10:16:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01145897
Message ID:
01146370
Views:
15
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform