home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,719 of 10,840   
   Otie to J French   
   Re: Child forms and operation - non-MDI   
   31 Oct 05 11:32:28   
   
   XPost: comp.lang.basic.visual   
   From: otie_nospam@adelphia.net   
      
   >> I must confess, having 10 Forms on the Screen at the same times   
   sounds   
   as if you have a very large screen or very small Forms.   
      
   Yes, I hear you, but whether it is 2 forms or 200 forms, the   
   principles necessary for implementation are all the same. I just have   
   to use different dimensions. So 10 was just a round number the guy   
   gave me that he wanted. He may only use 5 of them at a time, but the   
   capability is there for up to 10. The forms are all grids (mainly) and   
   are resizable, so in his work, 10 may become handy.   
      
   I ended up just dimensioning a myFrm() array as 10 using my master   
   Data_Grid.frm as the "template". I then dimensioned my data storage   
   array as (10, whatever). I also had to create a new array called   
   number%(10), which holds how much data (rows) there is in each grid.   
   All in all, it wasn't too bad, I guess - once I had it all debugged.   
   The biggest trouble I had was realizing I had to create that last   
   array because of all my sorting requirements for the data in the   
   grids.   
      
   Thanks for all your input.   
      
      
      
      
   Otie   
      
      
   "J French"  wrote in message   
   news:43647f22.4547669@news.btopenworld.com...   
   > On Sat, 29 Oct 2005 22:17:51 -0700, "Otie"   
      
   > wrote:   
   >   
   > >>> I doubt that you really want ten differnt Forms visible at the   
   > >same time.   
   >   
   > >Yes, I do. I want to be able to hit the main form's CALCULATE   
   button   
   > >10 different times, with 10 different calculation parameters, and   
   then   
   > >fill 10 separate forms with grids with data (the data will all be   
   > >different because of the different calculation prameters), all   
   visible   
   > >at the same time (so I can compare data, one grid against all the   
   > >others).   
   >   
   > Ok, well that rules out MDI and Tabs   
   >   
   > Personally I would just design one Form, give it extra properties   
   for   
   > setting it up (custom titles) and getting/receiving instructions   
   >   
   > Clone that 10 times (the template form is never loaded)   
   >   
   > It would be very nice to have the Forms raising events (ideally like   
   a   
   > Control Array but that would require a 'helper' Class)   
   >   
   > I must confess, having 10 Forms on the Screen at the same times   
   sounds   
   > as if you have a very large screen or very small Forms.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca