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!

Prevent users from double-clicking between rows (datagrid) 1

Status
Not open for further replies.

mcs1000

Programmer
Jul 3, 2007
26
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?
 
This question is probably more appropriate in the VB5/VB6 or VB ActiveX Controls forums.

However, a quick & dirty way to prevent getting the double-headed arrow when clicking between rows is to set the AllowRowResizing property to False.


Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top