Skip navigation.
 
mlRe: Enabling cut and paste in modal window
FROM : Keary Suska
DATE : Tue Nov 06 23:30:38 2007

on 11/6/07 2:00 PM, <email_removed> purportedly said:

> I'm loading a NSWindow and displaying it modally with NSApp -
> runModalForWindow:
>
> This is working great except the NSTextFields within the window don't
> support cut and paste.  Googling has uncovered a lot of cryptic
> references to overloading worksWhenModal, but from my reading this is
> done on other panels you wish to have active concurrently with your
> modal window.  I just want to be able to paste text from other apps
> *into* this modal window (it's my registration dialog).


I do this all the time, and copy/cut/paste always work. What are all of the
symptoms? Are the menu items enabled? Have you changed the menus' action
methods?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

Related mailsAuthorDate
mlEnabling cut and paste in modal window mike woodworth Nov 6, 22:00
mlRe: Enabling cut and paste in modal window Keary Suska Nov 6, 23:30
mlRe: Enabling cut and paste in modal window Keary Suska Nov 7, 16:59
mlRe: Enabling cut and paste in modal window Uli Kusterer Nov 7, 18:18