Inconsistant color lazarus / 10-Designer ---------------------------------------------------------------------- vgoudreault · 2010-05-14 20:51 I have a problem with color on the Lazarus toolkit. I created several TGroupBox sharing the display, each being color coded, and on my old computer all is fine (except for the TButton -- those always appear gray, no matter which color I assign to them). But once I created a executable -- which looks OK on my old machine save for the lack of color for the buttons -- and port that executable to my other PC, then all the backgrounds are white. The only hint of color left are the immediate background of the captions, like if the captions could take their background color from the TGroupBox, but the TGroupBox themselves cannot. An attempt at editing the source on the second machine shows that it understands and can change the color, but refuses to display them. Any idea what could be wrong here, and especially how to fix it? Those are both PC running Windows XP, by the way. Vincent G ---------------------------------------------------------------------- vgoudreault · 2010-05-14 22:01 I found a way to salvage the program: fitting a static text field as large as the combobox with a blank text but with the right background, but it has a few down sides: 1- the combobox title is now covered and would require a new static text to serve as the caption (unless the static text destined to make the color can be positioned adequately) 2- I have no idea how to put that new static text field (destined to provide a uniform background color) *behind* the controls that were part of the combo box. Can anyone point me in the right direction as to how to re-order various widgets to determine which one is on top of another? If I cannot reorder them, I would have to re-create all the components so that they are on top of the new background, and with the numbers I have, that would be uncomfortably long. Is there a resource that presents the ordering and priority of components, that can be edited? Vincent