Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Thanks for your input Mark. Unfortunately, our framework does not have an App object. However, each form usually has a calling program. Those programs could define vars that the form could reference (although I really didn't want to work that way).
I did realize, though, (after my post) that I may be able to code the name of the program into the form property at design time rather than passing it. I was assuming it had to be passed simply because that's what we had been doing. That in itself would solve our problem.
Thanks again for your input.
Rodd
>No, but you could populate properties of your application object (e.g., goApp, assuming you have one) where you could use those values in the Load.
>
>>We have an old framework that we code around. All the tables used in a program are stored in a database. Therefore, we call a routine passing to it the name of the program that is running and it opens all of the necessary tables for that program.
>>
>>I'm now trying to incorporate this into a form. However, the name of the program is passed to the form. From what I understand, parms passed to forms are accessed in the Init method which fires AFTER the Load method. The Load method is where i need to open the tables (so that I can tie grids to tables, etc).
>>
>>Is there any way to access these passed parms in the Load event rather than the Init?
>>
>>Thanks so much for your input!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement