Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Dimension an object property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00816599
Message ID:
00816603
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform