I am building an app (D5) that uses a TSpeedButton and the Glyphs are loaded at runtime.
All good, but the positioning options, Top, Left, Right and Bottom are pretty clunky as a 32 x 32 Glyph on a 40 x 40 button always goes to the top left, right or bottom.
How can I center the Glyph vertically and Horizontally so that the
Glyph.Top = 4;
Glyph.Left = 4;
and the 32 x 32 picture is centered in the button.
Thank you.