Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing local array to procedure
Message
 
To
15/08/2006 09:42:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01145561
Message ID:
01145572
Views:
19
Paul,

You need to ask yourself to whom does the array belong? It doesn't belong to the Add button becasue the Send button needs it and it doesn't belong to the Send button becasue the Add button has to populate it so then who doe sit belong to? It should belong to the thing that owns the two buttons, the form.

So you go to the fomr designer and add a property to the form named aFiles(1). Then in the Add button you dimension and populate Thisform.aFiles() and in the Send button you can read Thisform.aFiles().

You see it is all about who owns it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform