Home All Groups Group Topic Archive Search About

Data Grid Selector Bars

Author
16 Jan 2006 4:24 PM
Monster Mash
I am migrating a VB6 application to VB 2005 Express.  In VB6 I am
using the following code to suppress the selector bars..

f.dtg.RecordSelectors = False

where f is the form and dtg is the data grid control.

What is the equivalent code in VB 2005 Express to turn off the
selector bars?

Author
16 Jan 2006 4:36 PM
Jay Taplin
f.dtg.RowHeadersVisible = False

Jay Taplin, MCP

Show quoteHide quote
"Monster Mash" <monstermash@nospam.net> wrote in message
news:24ins1ljsll062etvahktgd4vt4h2a5is5@4ax.com...
>I am migrating a VB6 application to VB 2005 Express.  In VB6 I am
> using the following code to suppress the selector bars..
>
> f.dtg.RecordSelectors = False
>
> where f is the form and dtg is the data grid control.
>
> What is the equivalent code in VB 2005 Express to turn off the
> selector bars?