[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: FXRuby, FXList with (sunken) Frame

Kloubakov, Yura

3/23/2006 10:04:00 PM

> -----Original Message-----
> From: Robert Retzbach [mailto:rretzbach@googlemail.com]
> Sent: Thursday, March 23, 2006 3:28 PM
>
> Hello,
>
> how can you make a FXLists' frame sunken?
> It inherits from FXWindow which has a flag named FRAME_SUNKEN.
> But in FXList it has no effect.
> I even made a sunken container and put the list in, but that
> looks horrible!

Try this:

@secondhframe = FXHorizontalFrame.new(parent,
LAYOUT_FILL_X | LAYOUT_FILL_Y | FRAME_SUNKEN, 0, 0, 0, 0, 0, 0, 0, 0)
@leftlist = FXList.new(@secondhframe, nil, 0, LAYOUT_FILL_X | LAYOUT_FILL_Y)

--
Yura.
1 Answer

Robert Retzbach

3/23/2006 10:42:00 PM

0

Kloubakov Yura schrieb:

>>-----Original Message-----
>>From: Robert Retzbach [mailto:rretzbach@googlemail.com]
>>Sent: Thursday, March 23, 2006 3:28 PM
>>
>>Hello,
>>
>>how can you make a FXLists' frame sunken?
>>It inherits from FXWindow which has a flag named FRAME_SUNKEN.
>>But in FXList it has no effect.
>>I even made a sunken container and put the list in, but that
>>looks horrible!
>>
>>
>
>Try this:
>
>@secondhframe = FXHorizontalFrame.new(parent,
> LAYOUT_FILL_X | LAYOUT_FILL_Y | FRAME_SUNKEN, 0, 0, 0, 0, 0, 0, 0, 0)
>@leftlist = FXList.new(@secondhframe, nil, 0, LAYOUT_FILL_X | LAYOUT_FILL_Y)
>
>
>
Ha!, thank you for that. Dirty, but looks good!
I wish you a nice WE