The reason that I want to do this is necause I am using a context menu to allow them to add, edit and delete item (it calls up a modal dialog). It is a little confusing to them if they right click, select edit or delete, and the information from a different row shows up in the modal dialog.
TIA
The time and effort you are putting on the grid is good for learning, but taking a 10 minute look at the listview in StrataFlix will give you all the things you are trying to do manually and much more.
Trust me I've been there, and did the same thing until I understood that the SF listview is not like the one in VFP which I hardly used.
I used the listview quite a bit in VFP
And after your last reply, I looked at the ListView in Strataframe.
It also had no RightCLick event that I could hook in to. I will re-visite this issue after my meeting with the client
I truely appreciate all of the help you ave given me.
Bill
I suggested you to look at the StrataFlix sample application which uses the new enhanced list.
A single event, the MouseClick event is used to handle all this in .NET controls like this:
End If
And if all you want is to show a shortcut menu (ContextMenuStrip in .NET) all you need to do is add a SF ThemedContextMenuStrip to your form, add all the items you want then add that menu to the form's property ContextMenuStrip and you are done, not need to manage it via the right click like in VFP.
BTW, StrataFlix Main Form also have a sample of a ThemedContextMenuStrip.