Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Grid Colums Header or change size

Status
Not open for further replies.

farid_f

Programmer
Jan 17, 2019
1
CA
This is what I use and is working for me,

with thisform.Grid1
.Columns(1).Width = 50
.Columns(2).width=100
.Columns(2).Header1.Caption = "Document#"
.Columns(3).width=180
.Columns(4).width=80
.Columns(5).Width = 50
.Columns(6).width=100
.Columns(7).width=100
.Columns(8).width=150
.Columns( .columnCount ).resizable = .f.
Endwith

With this With this With statement you can change whatever you want in a Grid.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top