bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NSButton sendActionOn:]


From: Marc Brünink
Subject: [NSButton sendActionOn:]
Date: Fri, 28 Jul 2006 14:40:41 +0200

Hi all,

[NSButton sendActionOn:] does not work at all. This is because of

  if ([_cell isContinuous])
    {
      oldActionMask = [_cell sendActionOn: NSPeriodicMask];
    }
  else
    {
      oldActionMask = [_cell sendActionOn: 0];
    }

in [NSControl mouseDown:]. If I comment these lines out and kill the last 3 lines of the method
  //[_cell sendActionOn: oldActionMask];

//  if (mouseUp)
  //  [self sendAction: [self action] to: [self target]];

everything works as expected. Why does NSControl just ignore my settings and resets everything back to 0 before handling the event?

Please send me a CC.


Thanks
Marc





reply via email to

[Prev in Thread] Current Thread [Next in Thread]