Re: Implementing Cut, Copy & Paste in a page having 70 odd widgets

2011-08-12 Thread Karthik Vemuri
Yup... Thanks.. That's what I was thinking too... I should use the Blur handler now since we no longer use listeners Regards, Karthik Vemuri On Aug 12, 2011, at 6:25 PM, mP wrote: > Suggestion: what about registering a lost focus listener that sets > some global variable when it loses fcous. Y

Re: Implementing Cut, Copy & Paste in a page having 70 odd widgets

2011-08-12 Thread mP
Suggestion: what about registering a lost focus listener that sets some global variable when it loses fcous. Your cut/copy/paste buttons could thencheck the glboal to figure out the last target the user actually had. On Aug 13, 7:40 am, Vemuri Karthik wrote: > Hi, > > I am trying to implement the

Implementing Cut, Copy & Paste in a page having 70 odd widgets

2011-08-12 Thread Vemuri Karthik
Hi, I am trying to implement the cut, copy and paste functionality for a page that has around 70 widgets including text boxes, list boxes, labels, containers, panels and so on. The cut, copy and paste buttons are part of these. When a User selects text in some text box in the page and clicks on co