[Fxruby-users] Re: [FXRuby] Scrollable frame
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <ly...@us...> - 2003-06-19 18:34:21
|
Steve Tuckner wrote:
> In the past, there was a FXRuby example of how to do a scrollable frame
> where controls are added to it and it automatically scrolls to
> accomodate them. I can't find this email message however. Can someone
> point me to that example?
I don't know the specific example you're referring to, but you just want
to create an FXScrollWindow instance:
scrollWindow = FXScrollWindow.new(parent, ...)
and put a frame of some kind inside it:
contents = FXVerticalFrame.new(scrollWindow, ...)
and then add stuff to the frame:
FXButton.new(contents, ...)
Hope this helps,
Lyle
|