Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return .f. still allows exit from field. Why?
Message
De
27/08/1999 14:32:30
 
 
À
27/08/1999 14:12:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00258304
Message ID:
00258559
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform