Skip navigation.
 
mlTracking a NSMatrix's selection (follow up)
FROM : Jean-Olivier Lanctôt-D.
DATE : Wed Nov 20 23:34:16 2002

Hi,

I'm looking for something similar to selectionDidChange...
Connecting the Matrix to an IBAction does not work.

I've got this code

( the IBAction that's connected to the matrix. )

- (IBAction)optionsSelectAction:(id)sender
{
    NSLog(@"SelectedGroupsOnlyCell %d",[ABSelectedOnlyCell intValue]);
    NSLog(@"AllCell %d", [ABAllCell intValue]);
    NSLog(@"--");
    if ([ABSelectedOnlyCell intValue]) {
        syncAllContacts = NO;
    } else if ([ABAllCell intValue]) {
        syncAllContacts = YES;
    }
    [groupsTableView reloadData];

}

But it really doesn't work. *sigh*
Sometimes I get

2002-11-20 17:26:33.260 App[8875] only 1
2002-11-20 17:26:33.261 App[8875] all 1


when the matrix allows only one choice ( radio type )
Go Figure... :rollseyes:
I also tried with [cell state]==NSOnState.


I don't know what to do, help me!
  -- Jean-Olivier
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.