1
General / Re: how to change the color font and background of a button
« Last post by Handoko on Today at 05:14:06 pm »TButton.Color cannot be changed on Windows. See the attached picture below. It is restricted on Windows.
Solutions? Don't use Windows or use other third party button components, for examples:
https://wiki.lazarus.freepascal.org/BGRAControls/de#TBGRAButton
https://wiki.lazarus.freepascal.org/TGradButton
But if you have time and want to do something challenging, you can write your own button component. There were several discussions about creating custom button in the past, you can search the forum if you want learn about it.
Solutions? Don't use Windows or use other third party button components, for examples:
https://wiki.lazarus.freepascal.org/BGRAControls/de#TBGRAButton
https://wiki.lazarus.freepascal.org/TGradButton
But if you have time and want to do something challenging, you can write your own button component. There were several discussions about creating custom button in the past, you can search the forum if you want learn about it.