Modal vs double-click



  Hi!

I'd like to open a new modal window, if a double-click event occurs in a
clist. Here's the snippet:

    if (($event->{'button'}==1) and ($event->{'type'} eq "2button_press"))
    {
        Something->app_run();
    }
But afther the Something window appears, nobody can get the focus... If I
try the Something->app_run on a single click, then everything is OK.
How can I avoid this?

Thx!
MCS




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]