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

When mouse draging, highlight the cell in the related row but in a particular column

Status
Not open for further replies.

greathope123

Programmer
Nov 1, 2011
84
GB
Hi,

I realy don't know how to do this! Can you tell me if this is possible or not?
In MSFlexGrid MouseMove(), how to focus (highlight) the cell in the related row but in a particular column?
I hope this is easy for you and show me the code!

Thanks a lot for your help.
 
How about:

Code:
Private Sub MSFlexGrid1_MouseMove(Button As Integer, _
    Shift As Integer, x As Single, y As Single)
[blue]
With MSFlexGrid1
    .Col = 2
    .Row = .MouseRow
End With
[/blue]
End Sub

Have fun.

---- Andy

A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top