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 (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 arch...@mail-archive.com

Reply via email to