Posts

Showing posts with the label DataGrid Columns re-size

VB 6.0 - Make DataGrid Header Columns Equal To Each Others

Image
Microsoft Visual Basic 6.0  Datagrid control trick Say, we've DataGrid control called (DG) Connected to a database table, and we want to make the Header Columns' width equal to each other and equal the DataGrid width at the same time ............. Private Sub DGHeader() For Each Column In DG.Columns     Column.Width = Me.Width / DG.Columns.Count Next End Sub Note: Not likely suggested applicable to many columns DataGrid. 💌Visual Basic 6.0 Lessons, Tricks, Tutorials and help links : - Automate MS-Access Database in Visual Basic 6.0 though a net work - Visual Basic 6.0 Analog Clock - Vi sual Basic 6.0 Temperature Convertor - Visual Basic 6.0 , MS-Access 2003 and Crystal Reports - Phone book - Visual Basic 6.0 , MS-Access 2003 Database and DataGrid - Visual Basic 6 .0  FTP full application source code - Visual Basic 6.0 Color Picker tool source code 

VB6 Popular Posts

Visual Basic Online Course - Excel 2003 Part 1

VB 6.0 - Save/Retrieve Images From Access Database

Visual Basic Online Course - ProgressBar Colors

Free download Visual Basic 6 Documentation MSDN

VB 6.0 with MS-Access 2003 Copy a record from table to another

Visual Basic Online Course - Run-time error '3021' : Either BOF or EOF is True, or the current record has been deleted.

VB6 Crystal Reports 4.6 Error : Method 'Action' of object 'CrystalCtrl' Failed

Visual Basic Online Course - Create a Phone Book

Visual Basic Online Course - Temperature convector