Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Strange - can't save changes made to instance of class
I must be missing something basic here:
VFP 6 & VFP 7
I have a class, GetMonthlyYearControls, w/labels, textboxes and a CommandGroup w/2 buttons, labelled Save and Cancel.
I instantiate the class on a form. I change the "save" button as follows:
Autosize = .T.
Caption = "Download"
Name = "BtnDownload"
I make the changes to the instance of the class on the form, but when I save the form, the changes don't get saved!
Even wierder, as I write this, I sub-class GetMonthlyYearControls to DownloadGetMonthlyYearControls, in the same class library, w/the above changes, instantiate the new class on a form, and the button is the Save version, not the download!
Is there a gremlin in my computer? am I going crazy? can anyone help save my sanity?
J
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