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 10,330 of 10,840    |
|    Antony Clements to Geoff    |
|    Re: Loading and unloading forms    |
|    26 Dec 06 22:24:18    |
   
   From: antony.clements@optusnet.com.au   
      
   put the code in a .bas file that way it only has to be coded once rather   
   than on each form. this will also solve your problem by calling things from   
   the .bas file on form load.   
      
   "Geoff" wrote in message   
   news:_LadnftESINv1tPYRVnygQ@brightview.com...   
   > VB6. When selecting from drop down menu options I display different forms   
   > by using the Load (filename) and leave the form with Unload(Filename)   
   >   
   >   
   >   
   > The Load event allows me to program the opening of a particular direct   
   > access file and the Unload event lets me program the closing of the file.   
   > Things are kept 'tidy' this way.   
   >   
   >   
   >   
   > My problem is that I want to pass in a parameter when a particular form   
   > loads. This will control which record is to be displayed. I want   
   > Pointer to come in as a parameter.   
   >   
   >   
   >   
   > Eg Seek #1, Pointer   
   >   
   > Get #1, , MembRec   
   >   
   >   
   >   
   > How do I do this?   
   >   
   > Your help is appreciated   
   >   
   >   
   >   
   > Geoff   
   >   
   >   
      
   --- 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