MSFlexgrid

J

José Manuel

Hi all!

I have one MSFlexgrid control with 5X5.
When i use the mouse to select one entire row, everything goes ok.
My prolblem is that i have two buttons one to set rowsel to the next row and
another to set rowsel to the previous one.

Private Sub nextSel_Click()
MSFGVenda.RowSel = MSFGVenda.RowSel + 1
MSFGVenda.Row = MSFGVenda.Row + 1
End Sub

Private Sub previousSel_Click()
MSFGVenda.RowSel = MSFGVenda.RowSel - 1
MSFGVenda.Row = MSFGVenda.Row - 1
End Sub

When i use those buttons, only the first cell of the row will be
"backcolorselected"! Not the entire row as i wanted to be!

Can you advise me?

Many thanks in advance.


Ventura
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top