delphi - Look of TComboBox changes after removing Drag&Drop component from Borland c++ Builder 2009 project -
i noticed strange, related drag&drop component anders melander, , wonder if has thought ?
i have been looking reason, without much success. effect 100% repeatable removing: dropfiletarget->register(combobox); project's constructor.
the other day noticed drop downwards box on application not looking right:
whereas looked (correct) this:
so started going figure out @ time of component broke , have been able trace alter in 100% to:
dropfiletarget->register(combobox); if line present, good. if remove line of code form's constructor of drop box wrong !?
i wanted remove dropfiletarget project since utilize another method grab dragged file.
can please tell me register() here alter of component, can set should be.
my gut says has theme back upwards somehow ?
additional info based on comments:
i did tests. normal looking combobox, theme support, looks this:
with theme back upwards disabled looks this:
in other words, drag&drop component's register() creates special look, had grown used to, , of thought right look. canvas text displayed white instead of gray (default settings).
i'm torn between going 'how should be' or trying create had gotten used to.
anybody knows properties should alter component-influenced (second screenshot top) ?
delphi combobox drag-and-drop themes borland-c++
No comments:
Post a Comment