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

Click here to load this message in the networking platform