Context Menu

BlitzMax Forums/MaxGUI Module/Context Menu

William Drescher(Posted 2008) [#1]
How do I create a context menu for a textarea gadget? And how do I do a cut, copy, and paste call for the same textarea from the context menu?


SebHoll(Posted 2008) [#2]
I can highly recommend Assari's MaxGUI tutorials for any budding MaxGUI coders - this one in particular, should be of interest to you:

Tutorial 14: Menus and Popup Menus

You'll need to scroll down to about half way down the page to get to the Popup Menu stuff.


jsp(Posted 2008) [#3]
Here is a small example with copy and paste working.
Write something, select it, right click to get the popup menu, choose copy...
Paste will add it to the end of the text
Hope that gets you started.




William Drescher(Posted 2008) [#4]
I feel a little stupid that i did not look for a popup menu command enough to actually find that command. I looked for workarounds more than for a native command. Thank you very much for your help.