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