but nothing for Right Button of Mouse
TControl is derived from TWindow.
You need to search both TControl and TWindow classes.
You can see from TWindow class
- Code: Select all Expand view
METHOD RButtonDown( nRow, nCol, nKeyFlags ) CLASS TWindow
if ::bRClicked != nil
Eval( ::bRClicked, nRow, nCol, nKeyFlags, Self )
endif
return nil
//----------------------------------------------------------------------------//
METHOD RButtonUp( nRow, nCol, nKeyFlags ) CLASS TWindow
if ::bRButtonUp != nil
Eval( ::bRButtonUp, nRow, nCol, nKeyFlags, Self )
endif
return nil
//----------------------------------------------------------------------------//
That means, you need to add method
- Code: Select all Expand view
METHOD RButtonDown( nRow, nCol, nKeyFlags ) CLASS YourClass