Mega Code Archive

 
Categories / Delphi / Examples
 

Ttoolbar and tspeedbutton misaligned

Question: When I use TSpeedButtons with the Flat property set to True on a TToolBar they look misaligned and strange. What's wrong? Answer: You probably installed IE4, which has a new comctl32.dll. If you use NT3.51 don't set Flat to True, if you use Win95 or NT4.0 use TToolButtons instead of TSpeedButtons.