Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background Image Flashing - how to stop refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01045858
Message ID:
01045979
Vues:
24
This doesn't work, because if I add a command button with a click method of:

thisform.LockScreen = .t.
thisform.Refresh
this.LockScreen = .f.

As soon as the last line executes, I see the background image get redrawn, and the image flashes ...

The only thing that I can think of is that the image is in a PNG format and 39KB in size

Any ideas?


>>We are getting an annoying behaviour on our forms that we would like to stop. Each form is made up of a background image and then a PageFrame. Each time the form is refreshed, you can see the image flash on the form.
>>
>>The background image is not a form.picture property but is acutally added in the forms init method.
>>
>>The same thing happens when a modal form is called, and then closed - we get this flickering. I see no way of stopping it ....
>>
>>Any ideas????
>>
>>TIA,
>>Mark
>
>Check out the forms .lockscreen property and set it .t. before refresh and back to .f. afterwards.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform