Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add an array as a form property?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00418456
Message ID:
00418460
Views:
21
>I'm sure there is some embarrassingly simple thing I am overlooking about this, but...
>
> When adding a property to a form (Form -> New property), I am only allowed to specifiy the name. If I want to create an array as the property and try to initialize the array in the init method, I get the error "...property is not an array". So, how do you create such a variable? Of course I could always make a public variable...
>
>Thanks,
Pat,

When you enter the name, also enter the intended dimensions. For example, myarray[1]. You may then re-dimension it where and when necessary.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform