Drag and Drop and Text Field Problem...
Drag and Drop and Text Field Problem...
- Subject: Drag and Drop and Text Field Problem...
- From: Jerry LeVan <email@hidden>
- Date: Sun, 20 Jan 2008 18:29:17 -0500
Hi,
I have an app that can decrypt zip and cbr password protected files.
When a file has been detected as needing a password to
decrypt I use a custom sheet to display the request for
the password.
If I drag an encrypted file from the finder to the app main window,
the password request sheet will drop down.
The "password" field in the sheet will have a focus ring and
the cursor is flashing in the field. (and the menu displayed
is for the app).
The (default) Ok button is blue and pulsating but in fact the
text field does not respond to key-presses until I click on
the application main window or the sheet.
I can use an open menu to select a file and everything works ok.
I can drag the file onto the app icon and everything works ok.
How can I fix the problem of getting the text field to respond
to key-presses in the first case?
Thanks
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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