[Spec] CheckBoxModel>>enabled: does not work?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Spec] CheckBoxModel>>enabled: does not work?

Julien Delplanque
Hello,

I am trying to disable a CheckBoxModel using #enabled: method does not
works.

Any idea?

Regards,

Julien

Reply | Threaded
Open this post in threaded view
|

Re: [Spec] CheckBoxModel>>enabled: does not work?

Peter Uhnak
Indeed, it is broken https://pharo.fogbugz.com/f/cases/17754/CheckBoxModel-RadioButtonModel-ignore-disable 

I don't know how this is done in morphic, but you could probably hack it via

buttonModel whenBuiltDo: [ :w | w widget someMorphicMessageSend ] (or something like that)

On Sat, Mar 26, 2016 at 8:00 PM, Julien Delplanque <[hidden email]> wrote:
Hello,

I am trying to disable a CheckBoxModel using #enabled: method does not works.

Any idea?

Regards,

Julien