Re: [Fxruby-users] (no subject)
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-06-24 18:33:46
|
Steve Tuckner wrote:
> I am trying to do something simple (I think) but it is not working for
> me. I when the button is pressed to put another button below the first
> button and so on until the entire frame scrolls. Below is my code.
Right after the line that constructs the new button:
v = FXButton.new(@contentFrame, "Button #{i}")
you want to first add a line to create (or "realize") the button:
v.create
and then tell the vertical frame to recalculate its layout:
@contentFrame.recalc
Hope this helps,
Lyle
|