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