Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic Non-Visual Class
Message
De
02/08/1999 15:23:24
 
 
À
02/08/1999 14:11:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00248925
Message ID:
00248965
Vues:
19
>This seems as though it would be very basic... although I am having considerable difficulty...
>
>Here's my dilemma.
>
>I am trying to create a non-visual class that will dynamically create a list of exposed properties (depending on a table's structure).
>
>I tried dynamically creating properties with by using the addproperty method in the init... no luck. Then I figured I could use an array to house info, and dimension it accordingly. Seems easy enough right? When I "Dimension iaTestArray[1,1]" in the define class section, and assign a value to it... it seems as though everything is ok... but when I look at the type of the property, it is listed as character, and re-dimensioning the array doesn't seem to work either -- it is still viewed as a character property.
>
>If any one could point me to an example, or can give me that little tip that will speed me on my way, I would be very grateful.
>
>Thanks!
>
>Nat-

I am unsure why it is not working. Can you post the code in your init?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform