Solved

Disabling the DataGrid Tab split

Posted on 2000-02-14
3
186 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

16 Experts available now in Live!

Get 1:1 Help Now