Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP SHMOOP for icons
Message
From
26/01/1999 16:58:43
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00180474
Message ID:
00180499
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform