Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
>>A public variable is available in the form called by a program. When that form calls a second form, upon entering the Init, it loses scope. The second form uses local parameters, but none are named the same as the public variable. Any ideas?
>>
>>Regards, Renoir
>
>You should stay away from public variables altogether. Instead, make them properties of your application object.
Yeah, I agree totally, but this is a legacy app that I'm just trying to get functioning at the moment. Funny you mentioned that as we just discussed what it would take to move all the variables (the many, many variables) that are declared public in the app to our oApp object. Thanks for the advice...
BTW, nice site...
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