Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory variables and forms
Message
 
To
06/06/1996 01:18:35
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00001959
Message ID:
00001968
Views:
37
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform