Directory Select Dialog

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Directory Select Dialog

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:46 pm

by Jade Dude >> Tue, 14 Oct 2003 20:34:28 GMT

Is there a way to show a directory selection dialog box?

On my application i want to have the user click a browse button and when they do a dialog box will open where they can select a directory from a list of directories. When its finished it should return the path to that directory.

I know about the CMDFileSave but it returns a filename not a directory.

Is there anyway to get around this??

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Directory Select Dialog

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:46 pm

by cnwdad1 >> Tue, 14 Oct 2003 21:18:53 GMT

Try the browseForFolder or browseForServerFolder methods on the FileFolder class.

regards,
darrell.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Directory Select Dialog

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:46 pm

by Jade Dude >> Wed, 15 Oct 2003 5:49:02 GMT

Thanks that was what I was after :)


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 10 guests