Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Dimension an object property
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00816599
Message ID:
00816603
Views:
23
This message has been marked as the solution to the initial question of the thread.
In the Add Property window: MyArrayProp[1,1]

You will not be able to use any existing properties to do the dimensions at this point. However, you can use DIMENSION in the Init event to get it where you want it based on another property.


Richard




>Another one of those questions that I think I should know the answer to.
>I want to have an array of security values in my global application object (goApp).
>
>A few of the properties in the application object are already arrays, for instance: .avfptoolbars[20,2]. I use an older Visual FoxExpress foundation.
>
>But I have not been able to figure out how this was done. I could use a global array but it seems better not to add another global entity.
>
>I have tried using Dimension on an existing property:
>
>Dimension this.aFNCSEC[lnFNCSECsize]
>
>but this produces an error. So does using ACOPY to copy an array to an undimensioned property.
>
>Simple question; I'm sure there is a simple answer.
>
>Peter
State of Florida, DCF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform