Thread Tk Modul getOpenFile (2 answers)
Opened by maryl at 2010-08-11 18:03

renee
 2010-08-11 18:31
#140570 #140570
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
So sollte es gehen:

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sub getFile
        {
        my($action, $datAuswahl, $entry) = @_;
        my($filename)="";
        my $filetypes = [ ['Textfiles', '.txt' ], ['Textfiles', '.TXT'] ];
        if($action eq 'INPUT')
                {
                $filename = $datAuswahl->getOpenFile(
                    -filetypes => $filetypes, 
                    -title     => 'Select a file...',
                );
        
        
        
        
        }
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Tk Modul getOpenFile