How do a tidily pass a bunch of variables to a form upon opening?

How do a tidily pass a bunch of variables to a form upon opening?

Post by Tim Cra » Sat, 28 Oct 1995 04:00:00



How do a tidily pass a bunch of variables from a master calling form to a
form upon opening?
 
 
 

How do a tidily pass a bunch of variables to a form upon opening?

Post by Mathew Gyokers Eli » Sat, 28 Oct 1995 04:00:00


        I'd recommend making a custom method that accepts the variables
you'd like to pass on the called form and then calling it from the calling
form after the called form is opened.

--
Delphi and Paradox Consultant. Member: Borland Delphi Technical Support
            Web Page being relocated- want to provide space?

Borland supplied disclaimer: The services I provide via this message
and all consulting services I may provide are in no way associated with
or sponsored by Borland International or any of its subsidiaries.

 
 
 

How do a tidily pass a bunch of variables to a form upon opening?

Post by JefSumme » Sat, 28 Oct 1995 04:00:00


Several ways to pass variables between forms when opening one from
another:
1. Have a series of fields on the new form, hidden, and stuff them from
the calling form. This also allows you to get variables back when the user
exits the form.
2. Use a library with functions that get and put values
3. Pass by environment string
4. Use a temporary table
5. Use an .ini file.

Hope this gives you some ideas on your application.