Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn 3 forms into 3 tabs on 1 form
Message
 
 
To
06/01/2009 21:50:10
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01371549
Message ID:
01371566
Views:
19
>Ok, my (maybe) last question has to do with time to start the form. In reading what someone else just posted, it increases the load time to have all that stuff on one form, but it sounds like what you are saying is that by having them as classes, the instantiation of the form would be reasonably quick. Is that true? I didn't really understand what you meant by delayed instantiation though.

Don't add the container to the page frame (you can add it to the first page in design-time, if you want). For the rest of the pages you may have a code like this in Page.Activate
if type('this.cntInfo.name') <>'C' && First time
    this.NewObject('cntInfo','cntInfoClass')
    this.cntInfo.top = 1
    this.cntInfo.left = 1
    this.cntInfo.visible = .t.
endif
Or have a property for each page lActivate (added in pageframe Init, for example) and instead of checking type check for this property...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform