EUGrid and limiting Right Clicks
- Posted by Tony Steward <tony.steward at gmail.com> Oct 22, 2004
- 495 views
Does anyone know how to prevent right click from selecting a cell whilst still trapping that event. Below i trap the right click to allow me to popup a menu but it also selected the grid cell the mouse is over. elsif msg=EGW_RIGHTBUTTONUP then -- Get position of mouse as at last click - returns {x,y} click_pos = EGW_GetGridProperty( self, EGW_MOUSE_CLICK_POSITION ) if integer(click_pos[1]) and integer(click_pos[2]) then popup( KeyGroupsMenu, click_pos[1], click_pos[2]+30 ) end if returnValue(1) end if -- Regards Tony Steward www.locksdownunder.com IF IT IS TO BE IT IS UP TO ME!