|
-
August 1st, 2001, 06:24 AM
#1
Beginner
Is it possible to make any row or column of a MSFlexgrid as Fixed?
Usually when we specify fixed rows/columns as 2 the first 2 columns or rows will be fixed. Can I make 10th row as fixed instead?
-
August 1st, 2001, 07:34 AM
#2
Re: Beginner
'No, but you can use this trick
'put a msflexgrid on your form and a commandbutton
private Sub Command1_Click()
Dim intCol as Integer
With MSFlexGrid1
.Rows = 15
.Cols = 3
.Row = 9
.GridLines = .GridLinesFixed
for intCol = 1 to 2
.Col = intCol
.CellBackColor = .BackColorFixed
.CellForeColor = .ForeColorFixed
next intCol
End With
End Sub
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood,
Bruno Paris and all the other wonderful people who made and make Codeguru
a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|