Not the first time a question like this has been asked. Take a look at this 
link, which may point you in a useful direction.

http://www.perlmonks.org/?node_id=170334

--
Brian Raven

From: perl-win32-users-boun...@listserv.activestate.com 
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel 
Burgaud
Sent: 28 October 2012 01:12
To: Perl-Win32-Users
Subject: Need help with TK DirTree

Hi

I am writing a Perl "File Manager" app using TK and DirTree to navigate the 
folders.

$frame->Scrolled( 'DirTree', -command => [\&ListDir]  )->pack( -side => 
'right', -expand => 1, -fill => 'x', );

Here is my problem:

The above will only list the current Drive. It would not allow me to switch 
from "C" to "D" or any other drives i have.

Is there a way to tell DirTree to list from the root?

Dan

________________________________

Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, please advise 
the sender immediately by reply e-mail and delete this message and any 
attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to