Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASSIGN method
Message
From
27/09/1999 02:03:22
Walter Meester
HoogkarspelNetherlands
 
 
To
26/09/1999 14:32:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00267357
Message ID:
00269204
Views:
58
Mike,

I think this example is a bit trivial; I think there is much to say about this. You like to use this for validation of the property right ?

I have doubts, that is the right way to enforce property checking:
- First of all, this assign method will not fire when the property was filled in design time (or will it ?)
- Second, this maybe shows that VFP needs a ability to define domain checking for properties.

Nevertheless, It *may* be of help in this case to another developer, but the endproduct may suffer from poor performance or fatness. Like you said, if you really want to do domain checking, you can use the well known and accepted method of using methods to assign values to properties.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform