NSTabView with NoTabsBezelBorder / shadow
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