Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters in Load events
Message
De
16/12/1999 22:18:27
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00304890
Message ID:
00305083
Vues:
33
>>>But I'm only using free tables. VIEWS don't apply to that RIGHT?
>>
>>There are ways to deal with this. Public variables. If your calling this form from another form you can get a reference and look at properties of the calling form. What are you trying to do. Why did you use free tables?
>
>Dan,
>
>PUBLIC variables are virtually NEVER the solution to a problem, they are usually a bandaid to patch a bad design that are loaded with untoward side effects.

Jim,

Could you expand a bit on this. I've been using public variables just to make things work, but wondering all the while if I'm reverting to some old habits unnecessarily. BUT, public variables DO make certain things work, you know absolutely that something is exactly equal to something else, regardless of views, forms, control properties, or anything else. Why are they "NEVER" a solution?

Allen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform