RE: Upper case string in formatter
RE: Upper case string in formatter
- Subject: RE: Upper case string in formatter
- From: "Peter Karlsson" <email@hidden>
- Date: Sun, 5 Dec 2004 10:00:10 +0100
I change the newString in isPartialStringValid to uppercase and it works.
But I have one more question.
If I type this in my textfield:
F006400246F7
Is there a easy way to change it on the fly to:
$F0, $06, $40, $02, $46, $F7
I know that I must check content of newString every keypress and add $ ,
and space at the right places, but how?
Any suggestions?
Peter
Ursprungligt meddelande
> Dear list!
>
> I need my formatter to convert all characters to upper case. I have tried
> to change the string in 'isPartialStringValid' but it does not work. Can
> someone please tell me the right place in the formatter to place this
code.
>
> Best regards Peter
>
> _______________________________________________
> 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
>
_______________________________________________
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