Mega Code Archive

 
Categories / Delphi / Strings
 

16 when i use the glyph property, how do i know which color is transparent

Delphi always assumes that the color of the bottom left-hand corner pixel is the background color and should be displayed as transparent. Yes, it took me a while to figure this out. It's not documented anywhere, but if you have the VCL source, you can look at the code in BUTTONS.PAS.