Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subroutines in methods
Message
From
27/01/2000 14:46:10
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Subroutines in methods
Miscellaneous
Thread ID:
00323757
Message ID:
00323757
Views:
56
I have a form with a megalithic PageFrame (where one of the Pages also contains a PageFrame) It take a noticeable (but not yet intolerable) amount of time to instatiate. I would gladly start over using smarter technique, if not for the time already spent...

I had a program being called from a button. I realized this program will only ever be called from this one button. I moved the code into a form method, which is called by the button. The code calls a procedure which calls a subroutine. I now have 3 methods added to this form. Is there a better way to do this?

Does extra code take longer to instantiate the form?

If i compile the project into an .exe, do i have to distribute the form files or are they compiled into the .exe? (i'm currently distributing the .sc? .prg .fxp, etc. with the .exe) I would like to ship only a .exe and the runtime .dlls.

Is there a FAQ on where code should ideally be placed? ie: a pro&con sheet to different strategies? I know this is the kind of thing you either learn from schooling or from an on-the-job mentor. Since i'm learning VFP while coding a mission-critical app, i have neither.

"Have I mentioned lately how awesome UT is?"
Next
Reply
Map
View

Click here to load this message in the networking platform