• 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
Font Panel Events Getting Blocked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font Panel Events Getting Blocked


  • Subject: Font Panel Events Getting Blocked
  • From: John Nairn <email@hidden>
  • Date: Thu, 04 Dec 2003 10:38:26 -0700

My application has graphic objects, some of which have fonts. I bring up font panel to let user change the font. The action is handled with changeFont: method in the document class. There is, however, an inspector panel. It still works when the panel is up unless editing of an NSTextField in the panel is being done. Despite the fact that none of the inspector text fields allow attributes, editing any field blocks changeFont: events from getting through to the current document window. There are two options for workable interface:

1. (Best) Somehow allow changeFont: to pass through the currently active NSTextField in the inspector, but I could not find any method.

2. (OK) Close the font panel whenever the first responder of the inspector panel is a text editing field, but I could find any control or window/panel messages to detect activation of a text field?

------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.eng.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Font Panel Events Getting Blocked
      • From: Andrew Thompson <email@hidden>
  • Prev by Date: Re: RTF Style names
  • Next by Date: Re: Strange NSStatusItem Bug
  • Previous by thread: How to set resolution of NSImage?
  • Next by thread: Re: Font Panel Events Getting Blocked
  • Index(es):
    • Date
    • Thread