• 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 with NoTabsBezelBorder / shadow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTabView with NoTabsBezelBorder / shadow


  • Subject: NSTabView with NoTabsBezelBorder / shadow
  • From: Lou <email@hidden>
  • Date: Fri, 07 Dec 2001 11:06:43 +0100

Hi,

In my application I have a NSTabView object with no tabs and a bezel border
and two push buttons wich select respectively the next TabViewItem (using
selectNextTabViewItem:sender) and the previous TabViewItem (using
selectPreviousTabViewItem:sender).
With this type of TabView I can't set wether the background is drawn. So the
TabView has a white border with a shadow.

The problem is : when I select the next (or the previous) TabViewItem the
shadow is becoming darker. I would like my TabView behaves like a Tab View
with top tabs and bezel border : no background and a shadow wich doesn't
change when you're selecting the next (or the previous) TabViewItem.

I thought about having a TabView with no tabs and no border and then adding
a shadow but there is no API to do that...

I also try to force the display of the entire TabView or the display of the
contentRect of the TabViewItem only but this doesn't work...

Do you have an idea about it ?

Thanks,

Lou


  • Prev by Date: NSGlyph, NSBezierPath questions
  • Next by Date: Re: Yet another stupid question...
  • Previous by thread: Re: NSGlyph, NSBezierPath questions
  • Next by thread: Re: Rep_:_ObjC++_ and_a_word_about_Java,_too_
  • Index(es):
    • Date
    • Thread