RE: [Fxruby-users] (no subject)
Status: Inactive
Brought to you by:
lyle
|
From: Steve T. <STU...@MU...> - 2003-06-24 21:47:40
|
Thanks Lyle that works great!
> -----Original Message-----
> From: Lyle Johnson [mailto:jl...@cf...]
> Sent: Tuesday, June 24, 2003 1:44 PM
> To: Steve Tuckner
> Cc: fxr...@li...
> Subject: Re: [Fxruby-users] (no subject)
>
>
> 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
|