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

Highlight Row on RightClick?

Status
Not open for further replies.

kovas

Technical User
Aug 6, 2002
88
US
I am trying to do a popup menu and highlight the row that was selected on right click. I got it selected but how do I highlight it? heres the code...thanks

Private Sub grdRoster_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)

If Button = 2 Then
grdRoster.Row = grdRoster.MouseRow
PopupMenu mnuPopup
End If
End Sub
 
kovas,

Check out thread222-426900. It sounds like this is what you are trying to do.

hAPI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top