[Gambas-user] problems with core functions

Norarg norarg at ...2311...
Wed Dec 16 15:56:25 CET 2009


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




More information about the User mailing list