[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Folder Selection Dialog?



On Thu, 08 Jun 2000 22:49:36 -0500, Andrew Robinson wrote:

>     I need to select a folder in an application and would love to use a
>dialog to make it slick. I did not see how in MPAE and couldn't figure
>out how to get StandardGetFile or CustomGetFile to return a folder name.
>Can I do this? Could some kind soul show me how?

You might find:

	$dir = MacPerl::Choose (4, 0, '', '', 4);
	print $dir, "\n";

does what you want. For more details see "macperl.pod".

To do anything more 'modern' you would need to install 
'Mac-Navigation'. However beware; Navigation.pm has some bugs and 
difficulties.

HTH,

Alan Fry

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org