Skip navigation.
 
mlRe: Button doesn't respond in a modal sheet created from window NIB
FROM : Nick Zitzmann
DATE : Tue Nov 23 20:19:55 2004

On Nov 23, 2004, at 12:09 PM, Keith Blount wrote:

> The only difference I can see is that
> the other sheet I use is created from an action
> connected to a menu, and there's not a for... loop
> bang in the middle of it. Could this be the problem?


No.

> If somebody could tell me what I'm doing wrong, I
> would be very grateful.


You've got a method that runs a for loop in the main thread. While this
is going on, the run loop will not be processing events, which means it
will not invoke the action until your method is finished and the run
loop can start processing again. To resolve this, you either need to
move your processing loop to another thread, or process events inside
your processing loop.

Nick Zitzmann
<http://www.chronosnet.com/>

Related mailsAuthorDate
mlButton doesn't respond in a modal sheet created from window NIB Keith Blount Nov 23, 20:09
mlRe: Button doesn't respond in a modal sheet created from window NIB Nick Zitzmann Nov 23, 20:19
mlRe: Button doesn't respond in a modal sheet created from window NIB Keith Blount Nov 23, 22:17
mlRe: Button doesn't respond in a modal sheet created from window NIB Nick Zitzmann Nov 23, 22:56
mlRe: Button doesn't respond in a modal sheet created from window NIB Keith Blount Nov 24, 00:29
mlRe: Button doesn't respond in a modal sheet created from window NIB Nick Zitzmann Nov 24, 00:40
mlRe: Button doesn't respond in a modal sheet created from window NIB Keith Blount Nov 24, 19:14