NSTextField Masking
NSTextField Masking
- Subject: NSTextField Masking
- From: Peter Krajcik <email@hidden>
- Date: Wed, 1 Mar 2006 22:34:36 +0100
Hi,
I am looking for the simplest way to implement masking to NSTextField.
What I need is a mask, that will be attached to the text field.
Something like this:
xx:xx:xx
The client can enter only to xx pairs and only numbers are allowed.
NSFormater is not a choice I think - I need to filter keystrokes
before they enter text field.
I had this implemented in Carbon, but now it seems to be complicated
in Cocoa.
I could have custom NSView and implement everything.... but where is
then elegancy of Cocoa ?
I still believe there must be a better way...
Thank you.
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