[FXRuby] - background color problem for FXCombobox

Lyle,

thanks for your reply.
I've now tried

p.recursive{|w|
# w.baseColor=STD_BACK_COLOR
next if w.kind_of? TextField
next if w.backColor==HEADER_COLOR
if /ComboBox/.match(w.type.to_s)
w.baseColor=WHITE_BACK_COLOR
w.backColor=WHITE_BACK_COLOR
p 'w.children'
p w.children
w.children.each{|x| x.textColor=STD_BACK_COLOR }
# w.textColor=STD_BACK_COLOR
else
w.backColor=STD_BACK_COLOR
# w.textColor=STD_BACK_COLOR

end
},

but I get
p w.children =
[#<Fox::FXWindow:0x32be030>, #<Fox::FXWindow:0x32be000>]

and the methods for these do not include a way of setting any color -
is it necessary to add one explicitly ? Another field just below the Combobox
is a text field, and it has a white background color, just as it should,
without any additional work from me.

Thank you,

Axel

thanks for your reply.
I've now tried

<snip>

but I get
p w.children =
[#<Fox::FXWindow:0x32be030>, #<Fox::FXWindow:0x32be000>]

and the methods for these do not include a way of setting any color.

That bug (for FXWindow#children only returning an array of FXWindow
instances) was fixed in 1.6.0 and will also be fixed in 1.4.7 when
it's released.

ยทยทยท

On 7/5/06, Nuralanur@aol.com <Nuralanur@aol.com> wrote: