How to find out what row the user right clicked on an MSHFlex Grid
Posted on January 5, 2009
1 2 3 4 5 6 7 8 9 10 11 | 'Controls - How to find out what row the user right clicked on an MSHFlex Grid Option Explicit Dim MyRow As Integer Private Sub MSHFlexGrid1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single) If Button = 2 Then MyRow = MSHFlexGrid1.MouseRow MsgBox "You right clicked row #" & MyRow End If End Sub |
Related posts:
- How to Move image with the mouse in a form
- How to Execute an ad hoc query using ADO and display the results in a grid
- How to implement Drag and Drop in TreeView Control
- How to show a popup menu
- How to enable the user to drag and drop items between two list boxes
- How to confirm the user before exiting your application
- How to draw a Dotted Selection Box
- How to enter text in MSFlex Grid control without using text box.
- How to select items in ListBox with right mouse button
- How to disable beep when user presses the Enter key in TextBox