Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange - can't save changes made to instance of class
Message
De
31/05/2002 18:42:29
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
À
31/05/2002 18:29:21
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00663703
Message ID:
00663717
Vues:
15
If I use Command Buttons, rather than a Commandgroup it works fine.

Any comments/ideas about this?

I'm getting used to talking to myself < S >...
>I have "recompiled all."
>
>Is there any problem with compiling/using the same code in V6 or V7, as long as there are no V7 features used?
>
>J
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform