NSTabView and edit fields
NSTabView and edit fields
- Subject: NSTabView and edit fields
- From: John Stiles <email@hidden>
- Date: Thu, 27 Jul 2006 19:15:48 -0700
I'm using a "tabless" NSTabView to make a quick "Assistant" or
"Wizard"-like dialog. The first tab explains what's going on to the
user, the second tab has edit-text fields, the third tab shows
networking progress, and the fourth tab reports success or failure.
If there are problems, the user is given the option to go from the
final pane back to the second pane and correct their edit-text entries.
I'm noticing that, when going from the last pane back to the second
pane, sometimes the edit-text fields have residual "halos" around
them as if they could be edited, and/or grayed-out text selection
boxes. The halos aren't valid, however—none of the edit fields are
actually active. It's just a visual glitch; if I tab through all the
edit fields, everything is fixed. I
I don't know the best way to work around this, unfortunately. I tried
calling [myWindow endEditingFor:nil] before every call to [myTabView
selectTabViewItemAtIndex:something], but that doesn't seem to have
solved the problem. I could try forcing all the controls to redraw,
but that seems like a sledgehammer.
Am I doing anything wrong? Has anyone else seen this?
Thanks for your help :)
_______________________________________________
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