Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image in Grid
Message
From
31/08/2005 13:48:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010217
Message ID:
01045590
Views:
36
>>- 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 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform