Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic Non-Visual Class
Message
From
02/08/1999 14:11:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Basic Non-Visual Class
Miscellaneous
Thread ID:
00248925
Message ID:
00248925
Views:
73
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-
Nathaniel Moody
Omnicell Technologies
natm@omnicell.com
Next
Reply
Map
View

Click here to load this message in the networking platform