[Originally posted by mark]
I am currently writing an application which runs over 6 forms. The last form uses buttons to link back to a choice of the previous forms. All the forms run perfectly on the first pass. To show one of the previous forms I am using FORM6.HIDE, FORM5.SHOW. This just shows the forms as they were. I want to run the forms from scratch but dont know which commands to look for and what part of the code to put them in.
[Originally posted by Tom McGeehan]
You have a couple of options.
use unload form6 rather than form6.hide.* This way though, you will need to capture any screen values that the user selected that you might need to know later prior to unloading the object.
write local methods for each form that will clear out or re-initialize each screen.* So you might have a routine called clearForm5, and your code might look like form6.hide, form5.clearForm5, form5.show.* I'm sure you get the idea.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL