Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting PictureVal property updates all objects of same
Message
 
To
26/05/2008 15:41:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01319557
Message ID:
01319708
Views:
17
>There is a strange behavior when I set the pictureval property of an object.
>
>All image objects on the same form that are based on the same image class display the same picture after setting the pictureval of one of them, although they are not related to each other (except that they are from the same class).
>
>When I set instead the picture property to a file, then only the one object is updated with that picture.
>
>Is this a known issue, or is there a workaround for this? I would prefer the pictureval property because then I can delete the underlying image file and do not need to worry about deleting the file later.

What happens if you use CLEAR RESOURCES just before you set PictureVal?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform