Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory variables and forms
Message
 
À
06/06/1996 01:18:35
John Onysko
1 Edi Source, Inc.
Hudson, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00001959
Message ID:
00001968
Vues:
42
>I cannot find a way to initialize a variable and
>make all events/methods of a form see that
>variable. The only way I have found is to declare
>the variable before the form is called, but I
>thought that the Load event would duplicate this
>functionality. What I am looking for is the
>equivalent of the 2.6 screen setup code snippet.
>Here is why: I want a combo box to use an array.
>I don't want the array public. I want it
>initialized once in the beginning of the form. I
>always get a "XXX is not an array" if the array is
>not declared outside of the form. That's lame.
>Please tell me that there is an event that I am
>missing that is "higher" than the rest of the
>form!!!!


John

Create a form array property! In the Form Menu choose Property & enter (ie:) aMyArray[1,1] (And of
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform