setting myself as fieldeditor's delegate?
setting myself as fieldeditor's delegate?
- Subject: setting myself as fieldeditor's delegate?
- From: Seth Delackner <email@hidden>
- Date: Mon, 17 Mar 2003 00:12:00 -0800
I want all text fields in a window to select all of their text whenever
the user clicks with the mouse. I read the archives, and it being a
bit late I am just getting frustrated. In awakeFromNib I have:
NSWindow* w = [field1 window];
[[w fieldEditor:YES forObject:field1] setDelegate: self];
Just doesn't work. My delegate methods are never called. I don't get
it. The fieldEditor is shared for the whole window, so why doesn't
setting it's delegate do anything?
_______________________________________________
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.