Thanks Sean
On 10/4/07, Sean Long <sean.m.long at gmail.com>
wrote:> You can use the enable() method that is inherited from Wx::Window.
>
> ex:
>
> button = Wx::Button.new(SOME_ID,...)
> button.enable(false)
>
> This way of doing it will cause the button to also look disabled. If
> you do not wish for it to look disabled you will have to setup a block
> that does nothing when the event is triggered.
>
> Sean
>
> On 10/3/07, Jayson Williams <williams.jayson at gmail.com> wrote:
> > How do you make a button inactive, so that it is visible, but it will
> > not respond to clicks?
> >
> > Thanks
> > Jayson
> > _______________________________________________
> > wxruby-users mailing list
> > wxruby-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/wxruby-users
> >
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>