问题
In my Delphi VCL Form Application I have to change the background color of a TButton. Is there a way to apply this change without using a third-party components?
Thanks.
回答1:
You can't change the color of a TButton component directly, instead you must use a third-party component or owner draw the button (BS_OWNERDRAW).
来源:https://stackoverflow.com/questions/15664495/delphi-how-to-change-a-tbutton-background-color-in-a-vcl-form-application