Rex,
>In the cListObjEdit object, the PreAddHook, PreDeleteHook and PreEditHook calls should be conditional for executing the rest of the code in cmdAdd.Click(), cmdDelete.Click() and cmdEdit.Click() respectively.>
I agree...I'll change the code in these methods as follows (and give you credit in the "What's New" guide:
1. IF llFormIsPresent AND This.Parent.PreAddHook()
2. IF llFormIsPresent AND This.Parent.PreDeleteHook()
3. IF llFormIsPresent AND This.Parent.PreEditHook()
Thanks,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com