Disabling the DataGrid Tab split

I have tried to disable the Tab Split (the small cursor on the lower left corner)in a DataGrid control without success.

MSDN Help says to use the AllowSizing this way but it doesn't seems to work:
Private Sub Form_Load()
    With Adodc1
        .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Microsoft Visual Studio\VB98\Nwind.mdb;Persist Security Info=False"
        .CommandType = adCmdTable
        .RecordSource = "Employees"
        .Refresh
    End With
   
    Set DataGrid1.DataSource = Adodc1
    DataGrid1.Splits(0).AllowSizing = False
End Sub

Can anyone help?
LVL 71
Éric MoreauSenior .Net ConsultantAsked:
Who is Participating?
 
amebaConnect With a Mentor Commented:
DataGrid1.Splits(0).SizeMode = dbgExact ' this won't hide the small rectangle on the left of scrollbar
0
 
Éric MoreauSenior .Net ConsultantAuthor Commented:
It doesn't hide but it disable it! If you find how to hide it, tell me.
0
 
amebaCommented:
OK. It is not yet mature technology, maybe in VB7 it will work better. ;)

Thanks for the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.