• 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: Dialog Command Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Command Keys


  • Subject: Re: Dialog Command Keys
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 26 Jul 2011 17:38:32 -0400

Bill Appleton wrote:

> Based on my app, the dialog boxes have to be created dynamically, so i can't
> use Interface Builder, so they are assembled out of cocoa controls as
> needed.
>
> My dialogs beep when i control-x to cut some selected text
>
> What is the simple way for my dialog window to pass these command keys
> events down to the text views?
>
> Thanks in advance

Not to be impertinent but through this thread I'm wondering if the OP is putting himself through this pain unnecessarily. There *are* certainly legitimate reasons to be building parts of your UI at runtime but in my experience it's vanishingly rare, especially for the entire application. Is this one of those scenarios where the most beneficial answer to "How do I do X" is "Don't?"

So to Bill: What's the situation for your app that you've decided requires you to build everything at runtime? *Why* can't you use IB?

Greg
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Dialog Command Keys
      • From: Bill Appleton <email@hidden>
  • Prev by Date: Re: Creating a TCP server?
  • Next by Date: Re: Dialog Command Keys
  • Previous by thread: Re: Dialog Command Keys
  • Next by thread: Re: Dialog Command Keys
  • Index(es):
    • Date
    • Thread