AndrewMozley
Programmer
I have a project myproj which exists as two files myproj.pjx and my proj.pjt
This has a form class amform.vcx, which has several controls on it, including a text box mytext. And this textbox class had a custom method ammethod.
I have recently decided that I do not need this method. So I have removed it from the form class amform. I have also removed it from the two instances frm1.scx and frm2.scx of amform where I had included some code to make use of that method.
The application runs fine, and I had believed that the project and all its forms and code were as they were before I introduced this method.
However, I use a tool Searchmyfiles which I have found useful to examine all the files in a folder (or on the complete drive(!) to find those files which have a certain character string.
When I run this and scan my project folder for ammethod, most of the files in that folder and its subfolder are clean. So frm1.scx/sct and amform.vcx/vct do not contain the string ammethod.
But the only file which does contain the string ammethod is the memo file of the project myproj.pjt. And if I USE the project file as a dbf file and key in :
. . . . it shows me that the records which refer to the forms class anmform, and the two forms instances which I had edited are the ones which have the symbol “AMMETHOD” still present.
Is there a way of tidying this? Do I perhaps need to remove the class definition and the relevant forms from the project, then add them back in.
Or should I let sleeping dogs lie?
Thanks
This has a form class amform.vcx, which has several controls on it, including a text box mytext. And this textbox class had a custom method ammethod.
I have recently decided that I do not need this method. So I have removed it from the form class amform. I have also removed it from the two instances frm1.scx and frm2.scx of amform where I had included some code to make use of that method.
The application runs fine, and I had believed that the project and all its forms and code were as they were before I introduced this method.
However, I use a tool Searchmyfiles which I have found useful to examine all the files in a folder (or on the complete drive(!) to find those files which have a certain character string.
When I run this and scan my project folder for ammethod, most of the files in that folder and its subfolder are clean. So frm1.scx/sct and amform.vcx/vct do not contain the string ammethod.
But the only file which does contain the string ammethod is the memo file of the project myproj.pjt. And if I USE the project file as a dbf file and key in :
Code:
LOCATE FOR "AMMETHOD" $ UPPER(Symbols)
. . . . it shows me that the records which refer to the forms class anmform, and the two forms instances which I had edited are the ones which have the symbol “AMMETHOD” still present.
Is there a way of tidying this? Do I perhaps need to remove the class definition and the relevant forms from the project, then add them back in.
Or should I let sleeping dogs lie?
Thanks