Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP SHMOOP for icons
Message
 
 
À
26/01/1999 16:58:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00180474
Message ID:
00180503
Vues:
16
>You could always add a custom property to the base form that stored the icon file name you wanted to use. And in the init() method say THISFORM.Icon = Thisform.cIcon which would initialize the proerty to the chosen icon. Then in any subclassed form if you wanted to change the icon for that form all you would have to do is change the cIcon property to point to the new icon.
>
>Michael

Sheesh... All that work just to inherit an icon.

Thanks all. I'll work on it tomorrow. Going home now.

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

Click here to load this message in the networking platform