In my Fox2.6 days, I had a lengthy file called "COMMON.PRG", which I would set with the SET PROCEDURE TO <proc> in fox. This had all my handy-dandy UDF's that I'd call, as well as my ERROR Handler, and SYSTEM INITIALIZATIONs. As I get deeper into VFP, I find that I can now put those items into a "Custom" class. That then gets (here's where I get hazey...) "Instantiated" in my "MAIN" form, and then everything can get at these functions as they could before. Is this a good idea? Should I stick with a .PRG, or should I class these items? What is the advantage/disadvantage? Is it hard?
I think the thing that is killing me is, I have been a really good 2.6 developer, and I don't want to start some bad habbits that will cause me huge problems later. What's the pannels suggestion for this one???
Many thanks,
-Scott
I think the thing that is killing me is, I have been a really good 2.6 developer, and I don't want to start some bad habbits that will cause me huge problems later. What's the pannels suggestion for this one???
Many thanks,
-Scott