Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange - can't save changes made to instance of class
Message
From
31/05/2002 18:17:50
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Strange - can't save changes made to instance of class
Miscellaneous
Thread ID:
00663703
Message ID:
00663703
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform