[fxruby-users] FXScrollArea messages

Jannis Pohlmann info at sten-net.de
Thu May 19 08:45:43 EDT 2005


Hey Lyle.

>
> On May 19, 2005, at 6:47 AM, Jannis Pohlmann wrote:
>
>> Here's my code, originally about 300 lines stripped down to what you 
>> should need:
>
>
> <snip>
>
> Oh, I think I see it. It's the thing that I forgot to tell you about. ;)
>
> Try adding a call to enable() somewhere in there, in the initialize() 
> method is as good a place as any:
>
>     def initialize(parent, tgt, sel)
>         super(parent, ...)
>         self.target = tgt
>         self.selector = sel
>         initEvents
>         enable # added this...
>     end
>
> and see if that does the trick.
>
> Lyle

Indeed, it did! Thanks a lot, Lyle.

- Jannis


More information about the fxruby-users mailing list