Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DISPLAYING NEW BMP INSTEAD OF OLD
Message
De
02/07/1998 06:06:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00113292
Message ID:
00113709
Vues:
19
>As of version 5.0, a new clause was added to the CLEAR Command. The clause is called RESOURCES.
>
>For example, lets say I have an image on a form that points to a specific BMP file that has changed. If I run the form, I could use this code in the command window to demonstrate how things work.
>
>oldpict = form.image1.picture
>form.image1.picture = "" && resource cannot be in use
>Clear Resources oldpict
>form.image1.picture = oldpict && you should see the changed bitmap
>
>
>
>
>
>
>>If I display a .bmp in FoxPro and then change it (rescan w/ different settings) and display it again - FoxPro keeps the old image in memory and will not show the new file.
>>
>>Short of using new names or restarting FoxPro is there away to flush out the old and redisplay the new image?

Thanks.
Ernest
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform