Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP SHMOOP for icons
Message
From
26/01/1999 19:40:57
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00180474
Message ID:
00180538
Views:
22
>>That is strange. I have been using my own form class with application specific icons and all the forms inhereted that. I will go back and see, though
>
>It inherits it, but the icon is all messed up. But if I select the same icon from the form itself, it shows up fine.
>
>Thanks,
>
>-Michelle

Michelle- is this a relative pathing issue? I mean, in your form class after you select the icon, does the full path to the icon show in the property sheet? If not, I think your problem is that the subclassed forms cannot find the icon because its location is different relative to the scx file.

To fix, just hand code the complete path to the icon file.

And Rich... take heart; inheritance works as you hoped. The sooner you start developing with your own classes instead of the base classes, the happier you will be. I highly recommend that after you do make the switch, you make the switch retroactive; that is, go into to your existing forms and change the classes of the object that already live there.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform