TAdvEdit flat bug?

  1. Set Flat=true
    2. Set properties Color, FocusColor = clWhite

    In design-time it's OK, but in runtime both properties (Color, FocusColor) use clBtnFace value.

I have retested this and it behaves as designed; When flat = true, the control becomes 'transparent', i.e. adopts the color of its parent control (in this case the form with clBtnFace color) and when it is focused, it gets the focuscolor, (it shows in white here when having focus)

When flat = true, the control's propertie Transparent is still set to false and FocusColor propertie has no effect when control is in focus.

If you want to see the focuscolor, set AdvEdit.FlatParentColor= false