Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorry to be such a Dullard!
Message
De
25/07/2010 20:49:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/07/2010 20:37:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01473802
Message ID:
01473816
Vues:
47
>That was painless....(FOR ME!) thanks for the help!
>
>dg

Great! The following general principles may also help you in other programming tasks:

1. Variables declared in one method will not be available in another method of the same form. Form-level properties solve this problem. (Public variables are an abomination unto the Lord. - Well, they may be used on rare occasions, but this is not one of them.)

2. These properties may also be objects.

Note that sometimes you will get a dangling object reference. If you have trouble closing a form, it may be that somewhere else you still have a reference to your form.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform