RightClick Event
Applies To
fpSpread control
Description
Occurs when the user clicks a cell with the right mouse button.
Syntax
C++
afx_msg void OnRightClickfpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_RightClick(ByVal ClickType As Integer, ByVal Col As Long, ByVal Row As Long, ByVal MouseX As Long, ByVal MouseY As Long)
Parameters
The following parameters are available:
Parameter | Description | |
---|---|---|
ClickType | Can be one of the following values: | |
Value | Description | |
0 | Down | |
1 | Up | |
2 | Double-click | |
Col | Column number of cell the user clicked | |
Row | Row number of cell the user clicked | |
MouseX | X position of mouse pointer relative to upper-left corner of sheet (This value is in twips.) |
|
MouseY | Y position of mouse pointer relative to upper-left corner of sheet (This value is in twips.) |
Remarks
Use the SheetSendingEvent property if you want to return the sheet for which this event occured.
See Also
SheetSendingEvent property