http://stackoverflow.com/questions/8053545/in-delphi-xe2-firemonkey-how-do-i-change-the-color-of-a-button-after-pressing

 

  1. Select 'Edit custom style ...' in the Right mouse button menu from a button.
  2. Change the Fill.Color property from the TRectangle items under the background:TRectangle
  3. Apply and Close Stylebook
  4. Clear button.stylelookup
  5. Change the button.stylelookup in your buttonclick to the new create style, when you didn't change the name its Button1Style1

--------------------------------------------------

好象漏掉了要加某个层 layout 的步骤.(?)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-12-13
猜你喜欢
  • 2021-06-24
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-01-23
  • 2021-09-14
相关资源
相似解决方案