Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unwanted Transparent Forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00676036
Message ID:
00676418
Vues:
13
Eric,

I just ran a test, with a baseclass form and listbox. The Load() is:
create cursor x1 ( c1 c(10) )

for i = 1 to 2000
   insert into x1 values ( str( i ) )
endfor
The Form.Init() is:
select x1
scan
   thisform.list1.AddListItem( x1.c1, recno(), 1 )
endscan
I do not see any partial painting of the form. VFP7SP1, WinXPPro, P2-300.

There was another thread last week where an ActiveX control was forcing the form to become visible before the Form.Init() finished. Is that what might be causing your problem?


>Now, for some reason, the sash of the window shows with a transparent center. After the list is finished populating, the form paints the rest of itself. This is unacceptable behavior. I have tried autoyield,show/hide,lockscreen,visible,moving the code to various methods inside/outside init, init of the list, you name it...
>
>So, what's up? If I put the poplist code in a button and execute it after the form is painted it does exactly what it should do. Why?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform