text area context menu? possible

BlitzMax Forums/MaxGUI Module/text area context menu? possible

coffeedotbean(Posted 2007) [#1]
Is it possible to have a right click menu pop up in a textarea gadget with copy, paste etc?


coffeedotbean(Posted 2007) [#2]
oh.. never mind I found it =D


Grisu(Posted 2007) [#3]
:(

I could have answered this one but had to work... ;)


coffeedotbean(Posted 2007) [#4]
Well seems i didn't find it, i can get it to work "popupmenu" command thingy on a canvas but not a textarea.

So any help would be great.


tonyg(Posted 2007) [#5]
Textarea problem help plz

[MAXGUI] Popmenu inside textarea possible



SebHoll(Posted 2007) [#6]
Yeah, you need to handle the EVENT_GADGETMENU event that is emitted by the text area when a user right clicks, and call PopupWindowMenu( mywindow, menu ) to show the context menu at your mouse position.


Grisu(Posted 2007) [#7]
Quoted myself... :D
http://www.blitzbasic.com/Community/posts.php?topic=59122#658480

Edit: Oh Tonyg was faster... :/


coffeedotbean(Posted 2007) [#8]
spank-you =D