Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Parent code from running on form command button
Message
 
À
18/07/2005 13:17:00
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01033592
Message ID:
01041114
Vues:
16
Joel,

In addition to the other replies, I would suggest you look at the source for the default routine. If you are using VFP's wizards, usually the code for the buttons is in the base text version buttons. The graphic buttons are based on the text buttons class. Looking at this will help you understand the way the Microsoft programmers put together their framework, and may give you some ideas for your own work.

Dana

>I am using the Form builder wizard to make a data screen of a single table (an SQL view). I wish there was a little more powerful and more user-friendly Forms wizard.
>
>It works OK, but how do I change the code that is done on a click of a certain button.
>
>For example, I do NOT want to allow delete. I want to change the code that is activated on Delete CLICK.
>
>When I look at code on cmdDelete.click there is no code, but is does do the default code and you can see that by clicking on View Parent Code.
>
>****How do I prevent the Parent code from running? ***
>
>I will just ad my code on the click and then NOT run the parent code.
Where's the damned Any Key?...too late
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform