GadgetCopy()?

BlitzMax Forums/BlitzMax Beginners Area/GadgetCopy()?

CASO(Posted 2007) [#1]
What is it for? I tried to use it to copy text from a textarea to the clipboard and i then tried to paste it into notepad while my program was still running.

Do I need to use other methods for interaction with the clipboard? If so, which?

Thanks (in advance)


GfK(Posted 2007) [#2]
Erm.... without looking at the docs and never having used MaxGUI, I'd hazard a guess that it copies a gadget? o.O

What on earth made you think it was something to do with the clipboard?

AFAIK there aren't any native commands to deal with clipboards.


CASO(Posted 2007) [#3]
There are GadgetCut(), GadgetCopy(), and GadgetPaste() commands and when you right-click on a textarea it automatically pulls up a popup window with cut, copy, and paste commands. What I thought makes logical sense if you really think about it.


tonyg(Posted 2007) [#4]
Found putting gadgetcopy into the forum search engine.
One
two


CASO(Posted 2007) [#5]
Wow, there is one simple little step I forgot and that was what was causing the problem.

I changed:
GadgetCopy(letterbox)

to
SelectTextAreaText(letterbox)
GadgetCopy(letterbox)


...and now it works


c h i e f y(Posted 2014) [#6]
so if you get BlitzMax you can use GadgetCut(), GadgetCopy(), and GadgetPaste() commands - they come with BlitzMax but no other versions of Blitz, is that right?

I need to do a Blitz program where the program arranges data in order, I then want to copy and paste all the results to the internet/ notepad/ whatever