clq

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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 的步骤.(?)

posted on 2012-08-20 13:26  clq  阅读(360)  评论(0编辑  收藏  举报