FlexGrid Merge Row and BackColorSel
Hi
Why when there is a merge in flexgrid the highlight of BackColorSel not showing
This is ok if there is no merge row
Code:
With FG1
' Row and Col properties must be set before RowSel and ColSel
.Col = 1 ' start selection in this column
.Row = 3 ' start selection in this row
.ColSel = .Cols - 1 ' end selection in this column
.RowSel = .Rows - 2 ' end selection in this row
.SetFocus
End With
When i use merge row then the highligt of BackColorSel not showing but still active
Code:
Private Sub Form_Load()
.MergeCells = flexMergeRestrictRows
.MergeRow(0) = True
End Sub
AS MSDN say
When MergeCells is set to a value other than 0 (Never), selection highlighting is automatically turned off. This is done to speed up repainting, and because selection of ranges containing merged cells may lead to unexpected results.
Link
http://msdn.microsoft.com/en-us/libr...(v=vs.60).aspx
How to bypass this