To disable the normal right click menu just use the following code:
Function Object_OnRButtonUp(x,y,dragged)
If not dragged then
'code to reduce the number
End If
Object_OnRButtonUp=True
End Function
to access the right click menu (for objects in builder mode) you can still use CTRL + rightclick
is that what you meant?