From: Andy D. <ad...@ms...> - 2008-06-02 19:48:38
|
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 |