|
-
Oct 10th, 2006, 10:31 AM
#1
Highlight First Row in Flex Grid
Dear Team,
How to Highlight the First row(only) of the FlexGrid with ForeColur and
Backcolour....?
-
Oct 10th, 2006, 10:55 AM
#2
PowerPoster
Re: Highlight First Row in Flex Grid
if flexgrid.row = 0 then
for x = 0 the flexgrid1.col -1
flexgrid1.col = x
flexgrid1.forecolor = color
flexgrid1.backcolor = color
next x
-
Oct 10th, 2006, 11:02 AM
#3
Re: Highlight First Row in Flex Grid
without looping:
VB Code:
With MSFlexGrid1
.Redraw = False
.FillStyle = flexFillRepeat
.Row = .FixedRows
.Col = .FixedCols
.ColSel = .Cols - 1
.CellForeColor = vbRed
.CellBackColor = vbBlue
.Col = 0: .Row = 0
.FillStyle = flexFillSingle
.Redraw = True
End With
-
Oct 10th, 2006, 11:45 AM
#4
Re: Highlight First Row in Flex Grid
Dear Bush,
It leaves the first column without Highlighting.How to highlight the second row.And I need To Bold the First Row Contents.Pls help
Last edited by danasegarane; Oct 10th, 2006 at 12:09 PM.
-
Oct 10th, 2006, 12:09 PM
#5
Re: Highlight First Row in Flex Grid
you want to change the fixed column too?
if so, try changing it to
-
Oct 10th, 2006, 12:14 PM
#6
Re: Highlight First Row in Flex Grid
I want to Highlight the second Row Fully and Change the Font Style as bold for the First Row.
-
Oct 11th, 2006, 03:52 AM
#7
Re: Highlight First Row in Flex Grid
-
Oct 11th, 2006, 04:00 AM
#8
Re: Highlight First Row in Flex Grid
VB Code:
With MSFlexGrid1
'Bold 1st row
.FillStyle = flexFillRepeat
.Row = 0
.Col = 0
.RowSel = .Row
.ColSel = .Cols - 1
.CellFontBold = True
.FillStyle = flexFillSingle
'Hightlight 2nd row
.Row = 1
.Col = 0
.RowSel = 1
.ColSel = .Cols - 1
End With
-
Oct 11th, 2006, 04:27 AM
#9
Re: Highlight First Row in Flex Grid
it is not displaying the grid row itself
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
|