Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max length of string type property on a form
Message
From
17/07/2002 08:58:23
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00679542
Message ID:
00679551
Views:
25
>Hi - I am attempting to create a form class for my fellow developers to use. I have created a property on the form called "pViews" and set it to default to "". In subclassed forms I would expect the developer to enter a list of the views they want to open with the form separated by commas. I have got this working OK but the limitation of this is the max 255 characters in the string - having said that - I get a fatal error if there are more than 238 characters in the property... Is there a better way to approach this sort of requirement?
>Thanks

Hello Chris,

I have had a similar situation, but in my case it was a list of tables. I chose to create a method in which an array on the form was filled. In the subclassed method the programmer then specified the elements of the array.

Johan
Previous
Reply
Map
View

Click here to load this message in the networking platform