[quote=PerlProfi,03.04.2007, 14:01]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl
use strict;
use warnings 'all';
use Tk;
use Tk::Text;
my $mw = tkinit;
my $text = $mw->Scrolled('Text' =>
-scrollbars => 'ose',
-background => 'white',
-wrap => 'none')
->pack(-fill => 'both',
-expand => 1);
$text -> focus();
$text -> bind('<Control-Tab>', sub { $text->focus();
$text->break;
});
MainLoop;
[/quote]
Hallo,
So geht es, glaube ich: