Can get mouse procedure and handler to work!!!

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu