Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTokenField come over a NSTableView




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSTokenField come over a NSTableView (From: mabo68 <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.