Tabbing problem among text fields

HI All,

I have a window with four text fields that are accessible by plain tabbing. However, when I do this after compilation, tabbing skips one of the fields. I have tried first responder and all that but to no avail.

According to the Xcode documentation, it is not really necessary to code a first responder statement since normal tabbing should provide access to the fields anyway. Yet, I cannot understand why tabbing skips one of my fields.

Has anybody ever come across this problem? If this is a bug, any way to resolve this?

TIA.

archseed :frowning:

This might be a silly comment, but have you checked the text field in question to see if maybe you have disabled it? Take a peek in the Inspector panel and see if Enabled is checked.

Hi,

Thanks. I’ll check it out and let you know.

archseed :slight_smile:

Hi,

Am I glad you told me to check it out.

The problem is not that it is disabled. The reason it was skipping one text field is that the setting for “editing” in one of the fields is “End editing” instead of “Enter only” as with the rest of the text fields.

Now, if it might help others who’d encounter the same problem make sure all your text fields have the same “editing” setting attribute for normal tabbing across all text fields in your window.

One bad consequence I noticed in this predicament (before I made the setting common to all text fields) - when I give the different text fields with variable settings, the program hangs. All it does is cycle thru all the fields endlessly.

Ciao.

archseed :smiley:

Cool! Glad you found & fixed it!