Given an NSMatrix enclosing scroll view,  _browserScrollView
Given an NSTableView enclosing scroll view,  _tableScrollView

Add _tableScrollView to  _browserScrollView

[_browserScrollView addSubview:_tableScrollView];

When the user switches from NSMatrix to NSTableView run this code:

                [_tableScrollView setFrame:[_browserScrollView frame]]; 
                [_tableScrollView setHidden:NO];
                [_tableScrollView setNeedsDisplay:YES];         
                [_tableView reloadData];



On Tiger it works as I expect.

On Leopard the Thumb of the vertical scroll bar does not move.

The table can be scrolled by line / page up / down.


So, what am I doing that works in Tiger but not in Leopard?


David Blanton




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to