Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

farpoint tabpro memory errors etc.

Status
Not open for further replies.

1712

Technical User
Nov 8, 2000
66
NL
Has anybody used farpoints tabpro with VB6 and win98? Or better yet has anybody had any problems with listing approximately 250 controls on one form? I used arrays for my controls to bypass vb6's limitation of 255 but my project keeps running out of memory in design time and or crashes with windows famous blue fatal error screen.

I need all of these controls to be on this tab control to be practical for the user. Any help would be appreciated.

Charlie
 
Why do you need so many controls on one form? That is going to kill performance (assuming that you don't crash the machine first). I've worked on large apps before (last one had over 200 forms), and it is normally a bad idea to try and put all of the controls onto 1 form.
Try breaking up the application into different, smaller forms. The group the related data together and move those controls to their respective form. If all of the data HAS to be on one form, try using a grid control.
If that doesn't work, try dynamically loading the controls only when they are going to be visible (i.e. the controls on the current tab). I have a VERY small and VERY simple example of this, with source code, on my website - I am going to be putting more up there later this week. - Jeff Marler
(please note, that the page is under construction)
 
The reason I am using this many controls is because they are all on a 3rd party control tabpro. This control allows for some fancy tab control features. It would not be practical to call some of the tabs on one form and then call the rest on a second form. But I have considered already the idea of dynamically adding controls and may have to use that idea if I have any more problems.

Thanks for your response
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top