Solved

Disabling the DataGrid Tab split

Posted on 2000-02-14
3
187 Views
Last Modified: 2013-12-26
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?
0
Comment
Question by:Éric Moreau
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
ameba earned 100 total points
ID: 2518956
DataGrid1.Splits(0).SizeMode = dbgExact ' this won't hide the small rectangle on the left of scrollbar
0
 
LVL 69

Author Comment

by:Éric Moreau
ID: 2519002
It doesn't hide but it disable it! If you find how to hide it, tell me.
0
 
LVL 15

Expert Comment

by:ameba
ID: 2519051
OK. It is not yet mature technology, maybe in VB7 it will work better. ;)

Thanks for the points
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now