General information
Category:
Forms & Form designer
>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
Hi Jill,
I think you have a corrupted vcx file. If you open the vcx as a table and browse through you will probably find several instances of your form. Your changes are hitting an old version. I have had success cleaning up these messes by 1. First save a copy of the vcx. 2. Carefully go through the table and delete all but one set of records that apply to your specific form. 3. Pack the table. Hopefully you will then have a single version that you can modify.
Good luck!
Ken
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only