DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: vb6 forms

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    vb6 forms

    [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.

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:vb6 forms

    [Originally posted by Tom McGeehan]

    You have a couple of options.

    Option One:
    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.

    Option Two:
    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.

    Tom

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links