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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column Size

Status
Not open for further replies.

briggsy79

Programmer
Feb 23, 2001
68
SE
Hi everyone,
I was wondering if/how you can set the column width for a MSFLexiGrid for individual columns
i.e., i want to have a small one for the id number
Any help would be greatly appreciated, Thanks

 
Here is how I do it. I have the grdDep defined with Font=Courier (Fixed length).
With grdDep
.Clear
.FixedCols = 0
.FixedRows = 1
End With

.Rows = 1 ' Allocate row for header

.ColAlignment(DepProdType) = flexAlignLeftCenter
.FormatString = "RowType|Deposit Acct Type|Rel| Account Number" & _
"|Status|>Avg Bal/YTD|> Curr Ledger|> Curr Avail"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top