Thread bind nur einmal ausführen (2 answers)
Opened by rommi at 2008-09-04 14:50

Gast Gast
 2008-09-04 16:24
#114270 #114270
kann mann wieder "entbinden" :)

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/perl

use Tk;

my $mw = Tk::MainWindow->new;

$mw->bind('<FocusOut>',
        sub {
                $mw->messageBox (-message=>"Bitte Fenster\naktiviert lassen!");
                $mw->bind('<FocusOut>', []);
        }
);

Tk::MainLoop;

View full thread bind nur einmal ausführen