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
Titre:
Unwanted Transparent Forms
Divers
Thread ID:
00676036
Message ID:
00676036
Vues:
59
Using XP Pro and VFP7. I have listboxes that are populated using a scan of a couple thousand records and using addlistitem().

I want one of two things to happen, I don't care which. Either the window stays out of sight until the list is full and ready, or, show the fully painted form and a list that is scrolling down as it fills itself with data. My apps used to do the latter which was fine with me since the user can plainly see what is happening.

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?

It is also interesting to note that short lists load so quickly you can't see the problem, however, with a 900Mhz and 512 RAM loading 1600 records should happen in a blink, and yes, everything is indexed.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform