Re: Stopping actions mid stream

2008-07-07 Thread Jeff Brown
Thanks everyone. I ended up just disabling the option in the end. Cheers Jeff Thanks Andy and Jean-Daniel. Peter On 07/07/2008, at 3:34 AM, Andy Lee wrote: Yes: (by way of DaringFireball) --Andy On Jul 6, 2008, at

Re: Stopping actions mid stream

2008-07-06 Thread Peter Zegelin
Thanks Andy and Jean-Daniel. Peter On 07/07/2008, at 3:34 AM, Andy Lee wrote: Yes: (by way of DaringFireball) --Andy On Jul 6, 2008, at 11:57 AM, Jean-Daniel Dupas wrote: I haven't test but -[NSMenuItem setTool

Re: Stopping actions mid stream

2008-07-06 Thread Andy Lee
Yes: (by way of DaringFireball) --Andy On Jul 6, 2008, at 11:57 AM, Jean-Daniel Dupas wrote: I haven't test but -[NSMenuItem setToolTip:] look fine to do this. Now, just chek if this methods works even when the item

Re: Stopping actions mid stream

2008-07-06 Thread Jean-Daniel Dupas
I haven't test but -[NSMenuItem setToolTip:] look fine to do this. Now, just chek if this methods works even when the item is disabled. Le 6 juil. 08 à 16:31, Peter Zegelin a écrit : Some of the commenters suggest a tool tip over the disabled menu explaining why it is disabled, which sounds re

Re: Stopping actions mid stream

2008-07-06 Thread Peter Zegelin
Some of the commenters suggest a tool tip over the disabled menu explaining why it is disabled, which sounds reasonable. As a newby here would this be easy to implement in Cocoa? On 07/07/2008, at 12:02 AM, Graham Cox wrote: Wow, I'm really surprised that Joel Spolsky of all people would sa

Re: Stopping actions mid stream

2008-07-06 Thread Graham Cox
Wow, I'm really surprised that Joel Spolsky of all people would say this - and so recently too. I used to like System 7's Balloon Help approach - grey out the menu but the help balloon would explain why it wasn't available (at least in an app that took the trouble to implement this). Sadly,

Re: Stopping actions mid stream

2008-07-06 Thread Jean-Daniel Dupas
Not only his commenters disagree. http://daringfireball.net/linked/2008/07/01/spolsky-menu-items http://www.red-sweater.com/blog/515/disabled-menus-are-usable And I disagree too. Le 6 juil. 08 à 15:41, Peter Zegelin a écrit : I agree with you but here is JoelOnSoftware saying virtually the

Re: Stopping actions mid stream

2008-07-06 Thread Peter Zegelin
I agree with you but here is JoelOnSoftware saying virtually the complete opposite. http://www.joelonsoftware.com/items/ 2008/07/01.html. Fortunately most of his commenters disagree. On 06/07/2008, at 10:21 PM, Graham Cox wrote: The preferred way to do this is to prevent the user clicking th

Re: Stopping actions mid stream

2008-07-06 Thread Graham Cox
The preferred way to do this is to prevent the user clicking the button if it's not appropriate by greying it out. This is far more user-friendly than rebuking a user for having the audacity to click your button when they shouldn't have, even though they had no visual cue that they shouldn'

Re: Stopping actions mid stream

2008-07-06 Thread Jaime Magiera
On Jul 6, 2008, at 3:04 AM, Jeff Brown wrote: The delegate method has some code that checks whether the radio buttons are allowed to be changed from 1 to 2 and if not, sends an alert to the user. My problem is how can I stop the radio buttons themselves changing from 1 to 2. When programm

Stopping actions mid stream

2008-07-06 Thread Jeff Brown
Hi Guys I've set up matrix with 2 radio buttons (1 and 2) with a delegate method that gets run when the matrix gets clicked. Lets say radio button 1 is highlighted and someone clicks on radio button 2. The delegate method has some code that checks whether the radio buttons are allowed to be cha