• 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
Re: Stealing Font Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stealing Font Panel


  • Subject: Re: Stealing Font Panel
  • From: Hiro Fujimoto <email@hidden>
  • Date: Mon, 23 Feb 2004 08:16:59 +0900

Mark,

It is the problem I had few days ago. It's cause is NSText (NSTextField uses this inside) catch
and ignore 'changeFont:' message from NSFontPanel.
You can replace message of the font panel by NSFontManager's setAction: method and
receive it instead of NSText.

--

On 2004/02/23, at 5:14, Mark Davis wrote:

I have a button that brings up the font panel and allows the user to select a default font. The problem is that when they have a NSTextField selected and try to change this default font it doesn't happen.

Is there anyway I can stop the NSTextField from stealing the font panel and keep it exclusive to the default font until it's closed?
_______________________________________________
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.


------------------------------------------------------------------------ ---------
hiro FUJIMOTO - developer in Japan.
_______________________________________________
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.
References: 
 >Stealing Font Panel (From: Mark Davis <email@hidden>)

  • Prev by Date: Re: Weird bug in my code [long]
  • Next by Date: Re: Animated GIF
  • Previous by thread: Stealing Font Panel
  • Next by thread: File Packages
  • Index(es):
    • Date
    • Thread