General information
Category:
Forms & Form designer
Title:
Subroutines in methods
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
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