[wxruby-users] copy & paste event

Pat Kiatchaipipat lists at ruby-forum.com
Fri Mar 7 10:33:19 EST 2008


sorry, I will explain again :)

I have three textbox like this picture, and I have copy, paste, cut on 
toolbar and  I want to make when user click at copy it will copy text 
that selected (I can do it now) and then I want to paste text in other 
textbox

example
first I copy 'sssss' on left textbox, it's ok. then I want to paste it 
in right textbox that I point into it (see picture)

if I use @textbox2.paste in function on_paste. it's ok but it can paste 
only right textbox when I point mouse at left textbox and paste it, it 
will appear at riht textbox :'(

Attachments:
http://www.ruby-forum.com/attachment/1528/untitled.JPG

-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list