>From: Adam Fedor <[EMAIL PROTECTED]>
>To: Yen-Ju Chen <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: bug in NSBrowser ?
>Date: Sun, 08 Sep 2002 17:14:00 -0600
>
>Yen-Ju Chen wrote:
>>
>> I realize that I misunderstood the usage of browser:selectRow:inColumn.
>> Thanx for the hint.
>> And there is a minor bug that browser won't select the cell in matrix
>> after browser:selectRow:inColumn: return YES.
>> I attach a patch for that if it is a bug.
>>
>
>Actually that's part of the change I made. The documentation specifically
>states that the delegate is responsible for selecting the cell. Actually, I
>don't really like it this way, especially for
>browser:selectCellWithString:inColumn:, since it's hard for the delegate to
>figure out which cell to select while it is easy for the browser.
>
That's really weird.
Does Cocoa behave the same as what the documentation says?
I doubt it.
And the browser do nothing after the delegate return YES/NO.
There's no reason to have a delegate method with return value.
Another question is that now, doClick: won't call the selectRow:inColumn:.
I feel that doClick: should call the selectRow:inColumn:.
That would make more sense even the documentation doesn't say that.
Since doClick: responses to the cell selection,
it is reasonable to think the selectRow:inColumn will be called
by doClick:.
Yen-Ju
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep