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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement