Jeff,
>I am allowing my user to enter data in a DataGridView. I also have code in the HookSetDefaultValues() event of the business object. What is the preferred method for calling the initialization code when a new row is added to the grid?
If you are allowing your users to add a new row by pressing the down arrow, then Microsoft hasn't provided a convenient hook to allow you to call the HookSetDefaultValues since you are bypassing the business object and creating the new data directly in the UI. Otherwise, you can add a New button to your form and specify the business object in the BindingSource property and it will automatically populate your default values.
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