Default NSSavePanel filename selection not to include filename extension
Default NSSavePanel filename selection not to include filename extension
- Subject: Default NSSavePanel filename selection not to include filename extension
- From: Gonzalo Castro <email@hidden>
- Date: Wed, 07 Feb 2007 16:58:02 -0500
- Thread-topic: Default NSSavePanel filename selection not to include filename extension
Hello,
I need to have the default selection of the filename in an NSSavePanel to
_not_ have the extension selected. For example, when the NSSavePanel comes
up only the "untitled" part of the "untitled.m" filename should be selected
so when a user starts typing the extension is preserved.
Anyone know how to do this? I've seen it done in other apps.
I know about setRequiredFileType:@"m" which forces an extension onto
whatever the user enters but it would be nice to have the default selection
as a hint to the user.
Thanks,
Gonzalo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden