Re: controlTextDidChange, backspace possible?
Re: controlTextDidChange, backspace possible?
- Subject: Re: controlTextDidChange, backspace possible?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 14 Sep 2004 23:35:42 +0200
At 13:53 Uhr -0400 14.09.2004, John Tsombakos wrote:
> From: "Peter Karlsson" <email@hidden>
Subject: Re: controlTextDidChange, backspace possible?
Ok, maybe this is better?
if ([[myTexfieldOutlet stringValue] length] < 33)
But I still have the problem with my moving cursor.
Peter
I checked the documentation for NSTextField and there is a delegate message:
- (BOOL)shouldBeginTextEditing:(NSText *)textObject
Am I missing the point of this message? (according to the docs: "If
it is editable and its delegate responds to
control:textShouldBeginEditing:, invokes that method and returns the
result.") and the docs of NSControl's
control:textShouldBeginEditing: delegate message says:
Your delegate isn't responding to control:textShouldBeginEditing:, I
suppose. Maybe you could try overriding that message instead of
shouldBeginTextEditing:, maybe?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden