I have one text box and one browse buttom.
If I click on browse button, I would like to get
the folder path in text box.
Code is here
Expand|Select|Wrap|Line Numbers
- my $Bowseout = $top->Text(
- -width => 30,
- -height => 1,
- );
- my $brow = $top->Button(
- -text => ' Browse ',
- -command => \&display,
- );
- sub fileopen {
- my $file = $top->getOpenFile(
- -filetypes => $types,
- -title => "PDF Search Tool",
- );
- print "$file jayedra";
- }