Is it possible to have a right click menu pop up in a textarea gadget with copy, paste etc?
text area context menu? possible
BlitzMax Forums/BlitzMax GUI Programming/text area context menu? possible oh.. never mind I found it =D
:(
I could have answered this one but had to work... ;)
I could have answered this one but had to work... ;)
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.
So any help would be great.
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.
Quoted myself... :D
http://www.blitzbasic.com/Community/posts.php?topic=59122#658480
Edit: Oh Tonyg was faster... :/
http://www.blitzbasic.com/Community/posts.php?topic=59122#658480
Edit: Oh Tonyg was faster... :/
spank-you =D