Do you mean browsing for a folder rather than a file? If so, see: Win32::GUI::BrowseForFolder
Cheers, jez. ________________________________ > From: [EMAIL PROTECTED] > To: perl-win32-gui-users@lists.sourceforge.net > Date: Mon, 2 Jun 2008 14:48:29 -0500 > Subject: [perl-win32-gui-users] Browse Buttons For Just Directories, and the > Clear() method > > Hello, I was wondering if there is a way that you can setup the > Win32::GUI::GetOpenFileName to open a directory rather than a file? > > Also I have tried the Clear() method and it doesn't seem to do anything. I > have the following code: > > > # Clear button > my $clearButton = $main->AddButton(-name => "clearButton", > -text => "Clear Text", > -pos => [250, 150], > -size => [75, 30], > -tabstop => 1,); > > # Clear the text in the main screen > sub clearButton_Click > { > $main->textDirPath->Clear(); > $main->textFileExt->Clear(); > } > > > That obviously is not the whole thing, but I can't seem to figure out how to > make it work. Any Suggestions? Thanks > > -Andy _________________________________________________________________ All new Live Search at Live.com http://clk.atdmt.com/UKM/go/msnnkmgl0010000006ukm/direct/01/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users http://perl-win32-gui.sourceforge.net/