Hi - I'm using VB6 and have a number of records displayed in a DataGrid control. The idea is that the user selects a row and clicks OK to continue.
I have set the MarqueeStyle property to dbgHighlightRow so that if a user clicks on a cell, the row is highligted.
The problem is that the SelBookmarks property is only set when the user clicks the Record Selector arrow on the left of the row; if the user just clicks on the row SelBookmarks.Count is 0.
My client has said that they would like the user to be able to simply select the row in the DataGrid without necessarily using the record seletor.
Can anyone think of a way of doing this? I've been searching and can't seem to turn anything up.
Thanks for the help!
Kevin
I have set the MarqueeStyle property to dbgHighlightRow so that if a user clicks on a cell, the row is highligted.
The problem is that the SelBookmarks property is only set when the user clicks the Record Selector arrow on the left of the row; if the user just clicks on the row SelBookmarks.Count is 0.
My client has said that they would like the user to be able to simply select the row in the DataGrid without necessarily using the record seletor.
Can anyone think of a way of doing this? I've been searching and can't seem to turn anything up.
Thanks for the help!
Kevin