Solved

Disabling the DataGrid Tab split

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA/SQL - Connect to SQL server and pull data 4 153
How does CurrentUser work? 10 45
How to hault or freeze parent form when a 2d form is open in vb6 3 48
Excel Automation VBA 19 116
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

710 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