Re: controlTextDidChange, backspace possible?
Re: controlTextDidChange, backspace possible?
- Subject: Re: controlTextDidChange, backspace possible?
- From: "Peter Karlsson" <email@hidden>
- Date: Tue, 14 Sep 2004 16:50:24 +0000
Ok, maybe this is better?
if ([[myTexfieldOutlet stringValue] length] < 33)
But I still have the problem with my moving cursor.
Peter
From: Frederick Cheung <email@hidden>
To: "Peter Karlsson" <email@hidden>
CC: Cocoa Dev <email@hidden>
Subject: Re: controlTextDidChange, backspace possible?
Date: Tue, 14 Sep 2004 18:44:05 +0200
On 14 Sep 2004, at 17:52, Peter Karlsson wrote:
This is what my code looks like at the moment:
-(void)controlTextDidChange:(id)sender
{
if ([[myTexfieldOutlet stringValue] length] == 32)
This will go wrong if several characters appear at the same time (eg copy
and paste, certain input methods).
Fred
<< smime.p7s >>
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
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