Delphi: custom button in custom title bar - main menu button of Firefox / Opera

I want to create 5 buttons in the window title bar using this method: http://delphihaven.wordpress.com/2010/04/19/setting-up-a-custom-titlebar/

Firefox has one button (the same for Opera):

Not maximized window

enter image description here

Max window

enter image description here

How to make such buttons for my purpose? Rounded / curved, with chamfers, with / without image, with / without gradient. Are there similar components? Do I need to do this manually? If so, how? If it is not a button, then what is it? Is there an alternative for this?

+4
source share
1 answer

For an example of a component that rests on the glass at the top of the mold, check out the TRibbon control that ships with Delphi 2010 and above. Source code is included in Delphi. I bet the button is just an image with an alpha channel. The TRibbon code also dials controls on the glass.

+1
source

Source: https://habr.com/ru/post/1389741/


All Articles