Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Init event
Message
From
05/06/1997 12:20:44
 
 
To
05/06/1997 12:15:05
Holly Clawson
Travelcenters of America
Westlake, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00035152
Message ID:
00035225
Views:
42
>>>>Does anyone have an idea on this. I create 3 different arrays in the init event of the formset. The first time I run the form the arrays are created, but when the got focus of the first control is taken the arrays are gone and can not be found. Although, after run the form the first time I can run as many times as I want and the arrays are found.
>>>>
>>>>Holly Clawson
>>>
>>>It's much better to use form property-arrays which will be scoped for whole form.
>>
>>How do you create a FORM PROPERTY ARRAY?
>
>When I add a property to my form, I can not get the property to appear. The only way I can get it to appear is at the class level. And do I create this at the formset or on the form that the array is contained? Also where do I put thisform.myarray[1].

If you have formset then you create custom property for formset. What do you mean saying 'to appear'. If you mean 'in property sheet', then look at the bottom: all new properties appear there.
For formset you should use Thisformset.myarray[48] and this property scoped for whole formset, i.e. you could use it in any event/method code inside the formset.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform