I am using Delphi XE3.
When I create a new VCL project and drop a TToolbar
on it, everything works fine - except when I activate Form1.DoubleBuffered
.
From that moment on, drawing of the toolbar is broken - in designtime, it's either black, transparent, or parts of the IDE (statusbar, toolbar, etc.) are copied into it. It changes between these options when I click on it and when I change to source code (F12) and back.
In runtime, it's always black.
With DrawingStyle=dsGradient
, everything works as expected. Switching back to dsNormal
breaks it again.
Deactivating Form1.DoubleBuffered
repairs it.
Any hints how to work around that issue?