Hello everybody,
I am using VB6. I have an ADO data control on my form which I have successfully connected to an Access file. I also have a data grid control (not a Flex grid) on my form bound to the ADO control which is displaying data from the file. I am trying to provide basic user interface capabilities similar to those found in Excel where the user can copy, cut, paste, add rows and delete rows in the grid. I have been able to achieve cut/copy and paste capabilties but I can't get the add row and delete row feature to work. I would like the user to be able to left click on the left most cell of the of a row (the one in gray that displays an arrow pointing to the selected row when clicked on, which highlights the entire row in black). Then right click displaying a pop up menu (it works to this point) . My question is, how do I add a row ready for data input or delete a row when the ad row or delete row feature is selected in my pop up menu after a row is highlighted. Also, If the add row command is selected, as in Excel, I would like the new row to appear above the highlighted row.
Thanks Everybody,
Steve Durgin



