[Gambas-user] problems with core functions

Ricardo Díaz Martín oceanosoftlapalma at ...626...
Wed Dec 16 17:00:39 CET 2009


use Clipboard.Copy("Text you want copy") and Clipboard.Paste()

http://gambasdoc.org/help/comp/gb.qt/clipboard



2009/12/16 Norarg <norarg at ...2311...>

> hi
>
> I am struggling with some nasty little things..
> when I select a text or a part of a text in a textbox, and I want to
> copy this or paste from clipboard, the usual way is to use ctrl-c,
> ctrl-v. well, every software I know has a button too, making this
> possible. I tried to use the Desktop.Sendkeys, which works with "\t"
> f.ex., but I can not figure out how to send ctrl-c - tried ({[CTRL]C})
> and ({[CTRL_L]C}). In the manual I get the information, all keys are
> defined in /usr/include/X11/keysymdef.h - but this file does not exist
> on my system in this folder. Will be thankful for any help.
>
> Then I tried with .SelStart and .SelLenght to get the string - that was
> not accepted at all, get  "unknown symbol".
>
>
> It would be nice, if I could get this two different functions to work.
>
> thanks and regards
> norarg
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list