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?
Steve Tuckner
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?
Steve Tuckner
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