Re: NSTokenField come over a NSTableView
Re: NSTokenField come over a NSTableView
- Subject: Re: NSTokenField come over a NSTableView
- From: glenn andreas <email@hidden>
- Date: Fri, 30 Mar 2007 10:39:34 -0500
On Mar 30, 2007, at 9:02 AM, mabo68 wrote:
Over this tokenField come an programaticly created NSTableView (in
a NSScrollView).
I fill my tableview with some data. OK.
The data are corectly displayed.
Wenn I go with the mouse on the tableView, without clicking
something, the tokenField
will come on the first layer and hide a part of my tableView !
It sounds like you just created two overlapping views (with the
NSTableView on top of the token field).
Don't do that, you'll have nothing but problems.
Search the list archives for the full gory discussion about
overlapping views, but in general, just don't do that.
What are you trying to accomplish that you've got a table view on top
of token view?
If you're trying to alternate between showing one and the other, a
better approach would be to embed them both in a tab view (without
the tabs shown) and then switch the tab view to show the appropriate
one.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden