Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating command button.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121916
Message ID:
00122168
Vues:
18
>I'm currently self studying Visual Foxpro and i created a single entry form via wizard and my problem is I can't edit the save command button, when i run the form and I add a record the add command button will become save button, I want to add some validation during saving but i can't find the save button when I'm editing the form. In Foxpro 2.6 for DOS a cleanup where you can add some validation and you can generate the source code is this also possible in VFP? If so how?

As Sylvain says, you can enter code in the Add/Save button's CLICK method. If you do, be sure you include a DoDefault() command so the Wizard-written code still fires.

However, please consider designing your own forms and buttons. As Jerry says, the Wizard buttons (and other code) are difficult to understand and have severe limitations. You will learn a great deal more by writing your own. If you run into trouble, post a message on UT. Lots of help here.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform