Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable clicking between rows in a datagrid

Status
Not open for further replies.

mcs1000

Programmer
Jul 3, 2007
26
0
0
GB
I am working on a database with a VB6 front end.

On my form I have a datagrid which, when you click between two rows (and you get an up/down arrow symbol), opens the first record in the list.

Does anyone know how to disable clicking between rows as I don't want my users to be able to do this?
 
>when you click between two rows (and you get an up/down arrow symbol), opens the first record in the list.


Do you mean the row resizing?

That can be turned off using DataGrid1.AllowRowSizing=False

Then you will not get the arrows.

If that isn't what you mean, then you will need to explain further. What do you mean by "Open"? It sounds like there may be some other code written which ".. opens the first record in the list
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top