Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return .f. still allows exit from field. Why?
Message
From
27/08/1999 14:32:30
 
 
To
27/08/1999 14:12:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00258304
Message ID:
00258559
Views:
9
>Not sure I understand the question. I think the answer is that the validation code is in the subclass, not in the instance on the form. That, after all was the point of subclassing it originally. I have three separate forms which each require the same date field with the same validations, so I figured it would save repetition if I did it once, got it working, then subclassed it and used the class in all three forms.
>
>I'm sure its something to do with hierarchy but haven't a clue what implications that has or what to do about it. All I do know, as I said to Craig, is that the original version (prior to subclassing) works exactly as intended.
>
>> Do you have something like:
>>
>>return llCondition and dodefualt()
>
>nope, just what you see above. In the form instance its just 'default'
>
>Does this clarify?
>
>Harry

What version of VFP? There is a bug in 5.0 that would cause this. The fix was to add DODEFAULT().
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform