On Sun, 27 Dec 2009 18:00:59 -0800, Rainer Standke <li...@standke.com> said: >When the user clicks a button in a row that is currently not selected, >then I get the URL for the row that's in the process of being de- >selected, because the method targeted by the button runs before the >selection has changed to the new row. > >What can I do about this?
What I do in similar situations is use delayed performance. Even a delay of 0.0 is sufficient, because this causes the runloop to cycle once before the delayed call is handled, and often everything falls into place as part of that cycle. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com