Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handler as a form Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00390920
Message ID:
00391938
Vues:
11
>I am working with a fox 2.6 app that was converted to VFP 6.0. Many of the forms are contained within FormSets. So I am defining any custom methods or properties on the Formset rather than the form.
>
>I want to set ON ERROR to a formset method that I wrote so that I can save the ERROR(), MESSAGE(), etc. to form properties. I am calling the error handler from another custom method on the formset. I am getting the error, "THISFORMSET can only be used within a method". Since I am using it within a method the error handler must run outside of the formset.
>
>How can I call an error handler at still have all of the formset's properties available to the error handler?

Don't use formsets.
Use a multipletab pageframe within a single FORM.
Nebraska Dept of Revenue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform