Tony,
>I have a 2.1 Maintenance form with a btnNew on the List tab page.
>
>I need to have the same functionality on the properties tab page so I added a mmButtonNew on it and renamed it btnReqNew and double-clicked it to create a new btnReqNew event.
>
>Now I need to get it to do the same thing as the btnNew does, but I don't know how to tap into the original btnNew events.
>
>Can anyone tell me what comes next?
If you want it to perform the same code as the button on the first page, then you shouldn't double click it to create a new handler. Here's what you should do:
1. Remove the handler method you created
2. Go back to the form in design mode, select btnReqNew, then go to the Properties window
3. Click the Events button (the lightning bolt) in the Properties Window
4. Find the Click event and from its assocaited combo box, select the handler method for the btnNew method
Now they will both fire the same code
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com