Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label not painting/refreshing when form displays.
Message
De
15/08/2005 17:27:50
 
 
À
15/08/2005 17:06:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01041143
Message ID:
01041152
Vues:
20
>Hey all,
>
>I have several splash forms in our applicaiton that do the simple task of setting a label caption (big and centered on splash form) to a certain string in the Init event, and then the form gets displayed via frmMyForm.Show(). I run some other tasks, and when done, I release the splash form. Nice and simple.
>
>In VFP 8.0, the label displays just fine, completely visible as soon as the form pops up and visible until the form goes away. Perfect splash.
>
>But with the same exact code in VFP 9.0, the label is not appearing until a flash right as the splash form is being released. The form appears fine, but with just a gray background...no label visible.
>
>I tried label.Refresh(), frm.Refresh(), frm.Paint(), lots of DOEVENTS in the Init right after setting the caption of the label to my desired text -- all the standard stuff. Still no label. The label should be set to the proper caption and visible already in the Init, so why can'tI see it upon Show()? Is there a new property or something in VFP 9.0 that is making the processing hog all the resources so that the label cannot even display? Even if so, shouldn't a refresh() and DOEVENTS counter that?
>
>Anyone else having trouble with label refreshing in VFP 9.0?
>
>Thanks,
>JoeK
thisform.Draw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform