Font Panel Events Getting Blocked
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.