1. case
– Add TsSpeedButton to form
– Set reflected property to true
– load png in Glyph property
————————————
Everything looks ok. Reflection is present on button.
2. case
– create button with Btn := TSSpeedButton.Create
– set reflected property to true: Btn.Reflected := true;
– create bitmap: BMP := TBitmap.Create
– load image from resource: BMP.LoadFromResourceName(hinstance, 'BUTTON')
– assign BMP to button's glyph property: Btn.Glyph.Assign(BMP)
————————————
Image is present on button but there is no reflection effect on it.