• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: controlTextDidChange, backspace possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Country codes vs. Language codes
  • Next by Date: Re: [OT] [NEWBIE] using SCM in Xcode
  • Previous by thread: Re: controlTextDidChange, backspace possible?
  • Next by thread: Re: controlTextDidChange, backspace possible?
  • Index(es):
    • Date
    • Thread