Re: Inspector trouble...
Re: Inspector trouble...
- Subject: Re: Inspector trouble...
- From: "Erik M. Buck" <email@hidden>
- Date: Sat, 2 Mar 2002 11:20:54 -0600
- Organization: EMB & Assocites Inc.
use combinations of -acceptsFirstMouse: in the documenst and
- (void)setBecomesKeyOnlyIfNeeded:(BOOL)flag for the inspector panel.
Controls whether the receiver becomes the key window only when the user
clicks a view object that edits text or otherwise accepts keyboard input. If
flag is YES, the receiver becomes the key window only when keyboard input is
needed; if flag is NO, it becomes the key window whenever clicked. This
behavior is not set by default. You should consider setting it only if most
controls in the NSPanel aren't text fields, and if the choices that can be
made by entering text can also be made in another way (such as by clicking
an item in a pick list).
----- Original Message -----
From: "Joshua D. Orr" <email@hidden>
To: <email@hidden>
Sent: Saturday, March 02, 2002 12:41 AM
Subject: Inspector trouble...
>
I have been trying to figure this out for a while...
>
>
I have a inspector with popup menus, and text fields in it which edits
>
the selected item in the front most document. When ever you change
>
anything with in the inspector it becomes active, then you have to click
>
once to get back the document active and then you can select stuff in
>
the NSView subclass that I have. So essentially you have to click twice
>
to change the selection... I have noticed the the color picker window
>
does not do this, so I know there is a way to do it... How can I make it
>
so that when you change something in the selector the document reamins
>
active, or at the very minimum make it so that when the document is not
>
active one click in the NSView subclass that is in the window will not
>
only make the window active but will pass the mouse click to the NSView?
>
>
Thanks for the help!
>
_______________________________________________
>
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.
_______________________________________________
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.