Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Override defalut picture from parent class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00167255
Message ID:
00167268
Vues:
17
Add to the init event

dodefault()
This.Picture = ""

Because anything not defined will go to the parent hierarchy for settings.. by explicitly clearing it in the init(), that should solve your issue.

>In my base classes I have a button the has a picture on it and a description as the caption. I placed this button on my form and wanted only the description not the picture, so I went to the properties window for that button and chose the picture property and hit the delete key. The property was set to none. Everything is fine until I go back into the form to do something else and save it. The button picture property automatically gets set to l:\vf\acmds (this is my defalut directory) and when I rebuild the project an error occurs. I can go into the form and repeat the above steps for setting the picture property to (none), but it comes back again when I edit the form and resave it. My fellow programmers here have seen this happen to them and would like to know how can I get over this problem.
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform