• 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: How do I set focus on a specific view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I set focus on a specific view


  • Subject: Re: How do I set focus on a specific view
  • From: David Bainbridge <email@hidden>
  • Date: Sat, 17 Jul 2004 09:30:37 -0500

Have you tried [window makeFirstResponder: myNSImageView];

On Jul 16, 2004, at 10:01 PM, April Gendill wrote:

> I have a window with a tab view, in one of the tabs I have a tableview
> and an image view. The goal is to let the user click an item in the
> table and have it's related image appear in the image view so that it
> can be printed. However when you click in a tableview the focus is
> then set to that view. How can I make sure the focus is returned to
> the image view after the click is performed?
_______________________________________________
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: 
 >How do I set focus on a specific view (From: April Gendill <email@hidden>)

  • Prev by Date: Re: Sketch app with HTML export.
  • Next by Date: Re: AppleScript framework: architecture proposal
  • Previous by thread: How do I set focus on a specific view
  • Next by thread: Manual Cocoa Binding - Custom Value Transformer
  • Index(es):
    • Date
    • Thread