Re: performSelector doesn't work for modal window

2010-03-12 Thread Ken Thomases
On Mar 12, 2010, at 10:34 AM, Alexander Bokovikov wrote: > Unfortunately NSButton click is called when button is pressed, but not when > it is released. This is incorrect. You can click in a button, hold, drag out of the button, and release, and the button won't perform its action. The action

Re: performSelector doesn't work for modal window

2010-03-12 Thread Paul Sanders
PM Subject: performSelector doesn't work for modal window ... I've decided to use performSelector:withObject:afterDelay: message. This approach works OK for main window, but it doesn't work for a modal popup panel. ... ___ Cocoa-de

performSelector doesn't work for modal window

2010-03-12 Thread Alexander Bokovikov
Hi, All, Unfortunately NSButton click is called when button is pressed, but not when it is released. Therefore any timeconsumming process, executed on the button click, will keep the button pressed. To avoid it I've decided to use performSelector:withObject:afterDelay: message. This appro