[wxruby-users] copy & paste event
Pat Kiatchaipipat
lists at ruby-forum.com
Fri Mar 7 09:08:26 EST 2008
now I have problem with paste :(
when I copy I use this
a = @textbox1.get_selection()
b = @textbox2.get_selection()
c = @textbox3.get_selection()
if a[1] - a[0] != 0
@textbox1.copy
elsif b[1] - b[0] != 0
@textbox2.copy
elsif c[1] - c[0] != 0
@textbox3.copy
end
to check where @textbox was selected but when I want to paste it can't
use this I try to think but I don't know how can I fix it please help me
:'(
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list