GadgetCopy()?
BlitzMax Forums/BlitzMax Beginners Area/GadgetCopy()?
| ||
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) |
| ||
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. |
| ||
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. |
| ||
Found putting gadgetcopy into the forum search engine. One two |
| ||
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 |
| ||
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 |