Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image in Grid
Message
De
31/08/2005 13:48:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01010217
Message ID:
01045590
Vues:
35
>>- define a MyPICTURE image class
>>- add a Refresh method
>>
>>* Grid Init
>>THIS.NewColumn.dynamicFontShadow = "This.NewColumn.MyPICTURE.Refresh()"
>>* MyPICTURE.refresh
>>this.Picture == IIF( MyValue, "C:\path\Image1.ico", "C:\path\Image2.ico")
>>
>
>Would this work
>
>this.picture = MyTable.MyPictureFileWithPath and using the regular image class with refresh() method coded directly in the form?

Image BaseClass have't refresh method.
You can use the Columnrefresh, but don't forget NODEFAULT
THIS.NewColumn.dynamicFontShadow = "This.NewColumn.Refresh()"
** Col refresh
NODEFAULT
this.myPicture.picture = MyTable.MyPictureFileWithPath 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform