Can get mouse procedure and handler to work!!!
- Posted by tmathis May 25, 2010
- 1554 views
This is driving me crazyI am newbie trying to learn by doing. I modified the following code in sample exw demo richedit2.exw demo. The code works (popup activates)with the RightDown mouse action but will not work with the leftdown action. In fact I can't make any of the following respond!
MouseMove:LeftDown: LeftUp: RightUp: LeftDoubleClick*:et cetera.
procedure RE_w32HMouse( integer self, integer event, sequence params )
if params[1] = LeftDown then popup( {Popup1,self}, params[2]-6, params[3]-6 ) elsif params[1] = RightDown then popup( {Popup1,self}, params[2]-6, params[3]-6 )
end if
end procedure
Any help appreciated
Tim