I have an mouseDown:(NSEvent *) where a popup menu button on a column header appears in an NSTableView. My problem is that I can't seem to get the title to clear before it's set w/ the new title. So what I end up with is new title on top of old title. Here's the code I'm using to set the new title in my NSTableHeaderView.
NSTableColumn *column = [[[self tableView] tableColumns] objectAtIndex:index]; [[column headerCell] trackMouse:event inRect:[self headerRectOfColumn:index] ofView:self untilMouseUp:NO]; [[column headerCell] setTitle:[[[column headerCell] selectedItem] title]]; Anyone have ideas? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com