How the Delphi FMX changes the color of the TButton, with its own icon in the Tspeedbutton

Source: Internet
Author: User

In the FMX framework, TButton and Tspeedbutton differ very little, even after setting the stylelookup to the same appearance style, almost identical.

In mobile development, if you need to implement a return function button, we can add a TButton, set Stylelookup to Backtoolbutton (here the name is Rad Studio 10.1 Berlin version, other versions may be slightly different), This time the button's appearance has turned into a return arrow, and FMX has built in a variety of stylelookup to meet the basic needs of everyday development.

After adding the button and changing the appearance, because the default return button on the arrow icon color is gray, if you need to modify the arrow color, you can set the Icontintcolor property, but unfortunately, the current test can only be set when the style selection of Android, This is related to the icon used in the built-in style, Windows uses Tstyleobject, and Android uses the Ttintedstyleobject

How the Delphi FMX changes the color of the TButton, with its own icon in the Tspeedbutton

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.