Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP SHMOOP for icons
Message
De
26/01/1999 19:40:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00180474
Message ID:
00180538
Vues:
21
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform