Just found out today that both StringGadget() and EditorGadget() do not support #PB_EventType_RightClick for events.
Can this please be added? I needed a pop-up menu to appear when these gadgets are right-clicked and had some real fun trying to work out why #PB_EventType_RightClick wasn't doing it... until I read in the manual that it's not actually supported for these gadgets. Blimey!
Surely this is an essential event? Everybody right-clicks a edit box and expects to get a context menu.
Right-click events for StringGadget / EditorGadget
Re: Right-click events for StringGadget / EditorGadget
It should already display the standard OS menu with cut/copy paste and such, no ?
Re: Right-click events for StringGadget / EditorGadget
Not for EditorGadgets. It never has shown a context menu (we've always had to code our own).
But it would be nice for us to be able to trap right-click events anyway, for other reasons.
But it would be nice for us to be able to trap right-click events anyway, for other reasons.
Re: Right-click events for StringGadget / EditorGadget
In Linux and MacOS a right click into an EditorGadget already displays a context menu automatically. How to display it in Windows (and cross-platform) I have demonstrated already with screenshots in this posting.Dude wrote:Not for EditorGadgets. It never has shown a context menu (we've always had to code our own).
Re: Right-click events for StringGadget / EditorGadget
I know we can code our own (I even said that above). But it would be nice to get right-click events anyway for it, so we can do other things than just show a menu.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Right-click events for StringGadget / EditorGadget
+1
Would be nice
Would be nice
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Right-click events for StringGadget / EditorGadget
+1
with the choice to use the system menu, :
or to make your own menu !
with the choice to use the system menu, :
or to make your own menu !