简体   繁体   中英

Delphi 10 Seattle TabControl Style like android in windows

I'm using TabControl on Delphi 10 Seattle in Windows 8.1.

Windows style:

窗户风格

Android Style:

安卓风格

How to get the Android style for the TabControl in Windows?

  1. Open the style designer (add a StyleBook to the form and double click).
  2. Load the mobile style you want to use (you have to use AndroidLLight.fsf if you want the look&feel above). Located in the public Style folder. It end's with *.fsf
  3. Save it to a location you prefer. (Now the file extension *.style)
  4. Open the style in a text editor.
  5. Search for the object TStyleDescription and delete the whole section.
  6. In your project file (*.dpr) add the unit FMX.Style and at the first code line TStyleManager.SetStyleFromFile().

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM