Well this is no problem, here are enough members who can speak english...
Oh and a better way came to my mind. You just have to override the paint procedure! There you call inherited, so the original things are all painted and then you can paint this triangle. To have an image displayed on the button you have to derive it from TSpeedButton or TBitBtn.
(Otherwise you'd have to paint the image on yourself too...)
Little example (not ready yet):
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
| type TMyButton = class(TBitBtn) procedure Paint; override;
procedure Paint; begin inherited; Self.Canvas. end; |