I'm looking to execute a code block when rightclicking on a specific column, as in:
- Code: Select all Expand view
WITH OBJECT ::oGrid
:MedRec:bRClickData := { || ::ChngMRec(), ::oGrid:Refresh(), ::oGrid:SetFocus() }
But for the rest of the columns I'd like to have a popup menu, as in:
- Code: Select all Expand view
WITH OBJECT ::oGrid
:bPopUp := { || ::ContextMenu() }
:MedRec:bRClickData := { || ::ChngMRec(), ::oGrid:Refresh(), ::oGrid:SetFocus() }
the problem is that :bPopUp takes precedence. Is it possible to have :bPopUp execute only when :bRclickData is NIL?
Reinaldo.