Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and Drop and Text Field Problem...



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.