>After I add a row to a grid in CListObjEdit and the added row is at the bottom, it is highlighted. Then I click on Edit button and it edits the top row rather than the currently highlighted row. If I double-click on the bottom row it correctly edits the row. How do I get it to bring up correct row when I click on Edit?
It sounds like something is moving your record pointer to the first record even though the visually the grid selection bar is sitting on the record you have just added. Check out the CListObjEdit forms in the sample app to see what I mean.
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