Hello all. I am working on an application that contains a NSTableView.
The table view has a single column which display several options.
Based on the row that the user selects, something is displayed. When
the application is first launched, the first row in the table is
selected by default (but not processed as a selection because it was
not actually clicked). I want no rows to be selected when it is first
launched. So, the functionality is correct now, but I need the first
(or any other) row not to be preselected.

I have a button to clear the selection. In its code, I send a
deselectAll message to the table which correctly clears the selection.
I assumed that I could send the same deselectAll message in either an
awakeFromNib function or applicationDidFinishLaunching. However,
neither of these clears the selection.

I would greatly appreciate any advice. Thank you.

John
_______________________________________________

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