Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Override defalut picture from parent class
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00167255
Message ID:
00167587
Views:
18
>Bret,
>
>I imagine it's because of the way VFP does the filename on the prop sheet. If you look in the Properties memo, if the image is along the VFP path only the filename is stored, the fullpath isn't stored. But on the prop sheet you always see fullpath. So there is a translation going back and forth between the class/form and the prop sheet. If I create a class and put a non-path location bmp on the button the fullpath gets stored in the class property. I can then on a form delete the Picture property and it stays deleted. The same thing goes for replacing the Picture with another, even one that on the path. I don't think you can force VFP to store fullpath pictures if the picture is on the path though. Because VFP is going the store a minimal path for the file.
>
>>I know we can get around it with code, but that still does not answer why the picure property can not be overwrote. Other parent properties can be changed why is the picture property different.

David thanks for your insight on this issue and the time I know you spent on it. I have passed your theories to my fellow programmers and several light bulbs went off on other issues that they have seen with this property problem.
Thanks for your time.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform