Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>PMFJI, but are you saying that private variables in the calling program are available in the Load of a form? Then vanish when the Init occurs? That could resolve some issues I have going on...
>>>>
>>>>Renoir
>>>
>>>No, why should they vanish? You could delete them manually, of course. I understand what Nadya said as follows: I have to open tables in Form.Load(), not in Form.Init(), since Form.Init() is too late for opening tables.
>>>
>>>Hilmar.
>>
>>I understood it differently. Thanks for clearing it up.
>>
>>Renoir
>
>Actually, I think Renoir understood it better, but Hilmar is also right :) I usually open all tables in Form.Load (don't like to use DE), because Init is usually too late. Also, if I need to pass some parameters to the form, but Init is too late for these parameters, I just have them as private in the calling form/program. These variables could be accessed by Form's Load, but they would not be seen by Form's Init.
I understood it perfectly. Thanks for clearing it up. :-)
Renoir
Précédent
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