• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drag and Drop and Text Field Problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: why are there zero examples in the cocoa docs?!
  • Next by Date: Re: How to rename a filename in uppercase
  • Previous by thread: main() in static library, cocoa + c++
  • Next by thread: crashing in Objective-C Cocoa code in Carbon app under Leopard
  • Index(es):
    • Date
    • Thread