-------------------------------1152134365
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Dear all,
 
this is a cross-post from FXRuby-users' mailing list. Since an earlier  post
from somebody else today got a response on the Ruby mailing list,  which
hadn't got a response  on a more restricted list, I felt encouraged to  try 
again, too :)
 
How do you set the background color of a FXCombobox ?
I have a Combobox,  which should have a white background
color, yet it somewhat strangely  inherits the gray
color of the frame it sits in.
I have tried to correct  this by setting

p  $settingsFrame
p.recursive{|w|
#  w.baseColorD_BACK_COLOR
next  if w.kind_of?  TextField
next  if  w.backColorEADER_COLOR
if  /ComboBox/.match(w.type.to_s)
w.baseColorITE_BACK_COLOR
w.backColorITE_BACK_COLOR

else
w.backColorD_BACK_COLOR
end
}


for  WHITE_BACK_COLORðÒGB(255,255,255),
and  STD_BACK_COLRðÒGB(128,128,128)

but this changes the background color  from gray to white only if I click on
the combobox to show a dropdown of  them. Then , everything becomes
white, but after that, it turns to gray  again.
 


Thank you for your help,

Axel  


-------------------------------1152134365--