• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTabView and edit fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTabView and edit fields
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: How do I pattern an image in a view w/o "scrolling"?
  • Next by Date: Releasing Objects Allocated in Different Autorelease Pool
  • Previous by thread: Re: Checking file modification dates in NSDocument
  • Next by thread: Re: NSTabView and edit fields
  • Index(es):
    • Date
    • Thread