Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic Non-Visual Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00248925
Message ID:
00248948
Views:
16
>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-

What exactly is it that you are attempting to do with this... maybe someone can get you going in the right direction if we know what you want to achieve.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform