Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP SHMOOP for icons
Message
 
 
À
26/01/1999 19:40:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00180474
Message ID:
00180549
Vues:
18
>>>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.

It's got the right path, and I know it can find the icon because it displays the icon. It's close enough that I know it's the right icon, but it looks mangled.

Thanks,

-Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform