Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Big 'O'
Message
From
09/07/1998 05:18:01
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00115108
Message ID:
00115612
Views:
17
>I still have UDFs in my apps I don't believe in making something a method just so I can o.DoSomething(). I do not have a SET PROCEDURE file though that holds a whole boatload of functions either. Each one is it's own seperate .prg I have about a dozen of them.

I just grouped all the unrelated stuff into a custom object I call oUtilities
which is added at run time to the Application object
thus I have calls like loApp.oUtil.BreakList() etc.

the main reason I do this is for consistency with the rest of the app

btw, you can also store general methods in the DBC as long as a DBC is active you can direclt call any methods in it

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform