delphi - TGridPanel no transparency if themes disabled in Win7 -
i have form filled timage. put on tgridpanel. if themes enabled in windows 7 tgirdpanel appears transparency. if themes disabled (no visual styles) tgridpanel loses transparency , hides part ocupies. use delphi xe2
is there workaround this?
that's basic fact of life panels. it's not special tgridpanel
, see same effect control derived tcustompanel
. transparency supported when application themed.
the grid panel convenient way layout controls. if want support running unthemed simplest solution remove tgridpanel
, layout controls manually. that's pretty trivial do. handle onresize
event of control contains panel, , position controls desired.