Re: [Libreoffice] setting the background color of an Edit

2011-12-05 Thread Michael Meeks
On Sun, 2011-12-04 at 19:05 +0100, Markus Mohrhard wrote: > It seems that does not work for an Edit. I can set the font color with > SetForegroundColor but the SetBackgroundColor has no effect. I now > solved the problem by changing the color of the FixedText I use for > the information text. That

Re: [Libreoffice] setting the background color of an Edit

2011-12-04 Thread Markus Mohrhard
Hello Kohei, > You are almost there.  IIRC there is some quirk with setting a > background color with the Edit control; you need to set fore ground > color before setting the background color in order to change the > background color.  No idea whether it's a bug or not (I think it is), > but that'

Re: [Libreoffice] setting the background color of an Edit

2011-12-03 Thread Kohei Yoshida
Hi Markus, On Sat, Dec 3, 2011 at 5:30 PM, Markus Mohrhard wrote: > Do you have any ideas? You are almost there. IIRC there is some quirk with setting a background color with the Edit control; you need to set fore ground color before setting the background color in order to change the backgrou

[Libreoffice] setting the background color of an Edit

2011-12-03 Thread Markus Mohrhard
Hey, I'm trying to set the background color of an Edit in the code but I failed with Window::SetControlBackground, Window::SetControlForeground and throught the OutputDevice::SetBackground, OutputDevice::SetFillColor methods. Do you have any ideas? Regards, Markus ___