[Gambas-user] Yep, a little change on FEditor.class

Benoit Minisini gambas at ...2...
Wed Jun 4 21:34:47 CEST 2003


Le Mercredi 4 Juin 2003 21:24, Fabien a écrit :
> Salut
>
> if you have a middle button on your mouse :
>
> IF Button AND Mouse.Middle THEN
>     CreateMenu
>     mnuGoto.Popup
> ENDIF
>
> at the line : 192, in fact in the edtEditor_MouseUp event of FEditor
>
> It's more practicle to go rapidly to a sub....
>
> Fabien
>
>
>

For popup menus, you should use the Menu event instead of the MousePress 
event. This Menu event is raised when you hit the Windows keyboard menu key, 
not the MousePress event. 

It's better than VB :-)

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list