Forum: wxRuby Scroll Area

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F19a4807544338636bf12e76aff178af?d=identicon&s=25 Jonah Dahlquist (nonybd)
on 2009-05-20 00:25
Hello, world!

Is there a way to make a smaller part of a window scroll?  Scrolling is
required for what I'm making, but I don't want the whole window to
scroll.  It will contain buttons and stuff.
06f6780c99d4a8dd71f2b474082ea9ce?d=identicon&s=25 Alex Fenton (Guest)
on 2009-05-20 01:50
(Received via mailing list)
Hi

Jonah Dahlquist wrote:
> Is there a way to make a smaller part of a window scroll?  Scrolling is
> required for what I'm making, but I don't want the whole window to
> scroll.  It will contain buttons and stuff.
>

Look into Wx::ScrolledWindow

http://wxruby.rubyforge.org/doc/scrolledwindow.html

Also see the samples in samples/bigdemo/wxScrolledWindow. Really ugly
but it shows one way to use it.

a
F19a4807544338636bf12e76aff178af?d=identicon&s=25 Jonah Dahlquist (nonybd)
on 2009-05-21 01:01
Cool.  Got it.  Thanks!
This topic is locked and can not be replied to.