Solved

Disabling the DataGrid Tab split

Posted on 2000-02-14
3
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 70

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

623 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