Giving focus to a specific text field after pressing a button

2008-06-25 Thread Papa-Raboon
Hi Guys. I was wondering it it is possible to pass cursor focus back to a
specific NSText UI element after pressing a button. I have been looking at
NSControl and NSText field but can't seem to find a solution to this one.
Cheers
Paul Randall
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Giving focus to a specific text field after pressing a button

2008-06-25 Thread I. Savant
> Hi Guys. I was wondering it it is possible to pass cursor focus back to a
> specific NSText UI element after pressing a button. I have been looking at
> NSControl and NSText field but can't seem to find a solution to this one.

  The terminology for this is a bit non-obvious, but see -[NSWindow
makeFirstResponder:] ...

--
I.S.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Giving focus to a specific text field after pressing a button

2008-06-25 Thread Mike Abdullah

-[NSWindow makeFirstResponder:someTextField]

On 25 Jun 2008, at 15:04, Papa-Raboon wrote:

Hi Guys. I was wondering it it is possible to pass cursor focus back  
to a
specific NSText UI element after pressing a button. I have been  
looking at
NSControl and NSText field but can't seem to find a solution to this  
one.

Cheers
Paul Randall
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]