XPost: comp.lang.basic.visual   
   From: erewhon@nowhere.uk   
      
   On Fri, 28 Oct 2005 10:55:49 -0700, "Otie"    
   wrote:   
      
   >Yes, thank you so much.   
   >   
   >I see I have one other problem. If I want to keep the data that   
   >appears in the grids separate for each form and grid (because new   
   >forms will have different calculated data in the grids), I will have   
   >to keep track of the separate data in separate arrays (or at least use   
   >a 2-dimension array instead of the 1-dimension array I now have). This   
   >being the case, I wonder if it just isn't as easy to actually create   
   >10 different grids forms and just call them separately. Yes, putting   
   >everything into arrays is perhaps cleaner, but making 10 different   
   >forms all identical except for the titles and what data is loaded from   
   >which array seems easy enough, too. Maybe it's a toss up. I suppose   
   >good programming practice is to make form arrays and dimension data   
   >arrays that correspond to these form arrays.   
      
   It does sound as if you should use an MDI Form to hold the 10 separate   
   forms, I doubt that you really want ten differnt Forms visible at the   
   same time.   
      
   Certainly designing ten separate forms that are virtually identical is   
   not exactly efficient or elegant. Also a PITA to maintain.   
      
   You could have a Control Array of UserControls on one Form and simply   
   Show/Hide them as required.   
   That would make it easy to encapsulate the code and Raise an Event in   
   the parent form to request data or keep it informed.   
      
   I've a feeling that I would use a TabStrip here.   
   A lot easier for the User to navigate.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|