I get correct values in MouseUP event.
>RTF Box has no rightclick method. The MSDN article on .click says "To distinguish between the left, right, and middle mouse buttons, use the MouseDown and MouseUp events". So I tried to do it in the .MouseUp - and it says the parameters are _MouseUp([index As Integer,]button As Integer, shift As Integer, x As Single, y As Single)... where index is there if the control is a member of a control array. So far so good - adding the code to my RTF class, VFP dutifully filled in the "Lparameters Button, Shift, x, Y" line. So far so good.
>
>The problem is that no parameters get passed, none at all. All four are .f.
>
>Any ideas?
>
>Update: while it doesn't work as specified, I managed to have it pass parameters to a bindevent()ed method in the form. Go figure.
--sb--