Re: stopping someone from tabbing past a certain text field
Joar Wingfors <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On 4 feb 2010, at 02.21, Chad Leigh -- ObjectWerks Inc wrote: > but that only gets called if they start to edit it by typing something. Tabbing into and then out of does not trigger the edit so this (and other edit related delegate methods) do not get called. > > What is the best way to be able to check as someone tabs through that they have edited it. > > I could of course wait until they hit the accept button but I would like to provide feedback as they work their way through the form. For the user it's typically *very* frustrating to be prevented from leaving fields blank - I'd advice against doing that. You should be able to provide continuous feedback by implementing the "-controlTextDidChange:" delegate method. j o a r