Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodDelphiFiremonkeyIDEIOSOSXWindows

Customize The TListBox Selected Item Color In Delphi XE7 Firemonkey On Android And IOS

Delphi XE7 Firemonkey TListView Selected Item ColorDeveloper Yaroslav Brovin has a tutorial up for customizing the color of a TListBox selected item in Delphi XE7 Firemonkey. It shows you how to use the Bitmap Style Designer to export the style bitmap and then edit it in the image editor of your choice. There are some graphics which show you exactly which part of the style image you should change to modify the color of the selected TListBoxItem (there are actually 4 images you must update to handle all of the resolutions). Once you’ve updated the images you can load them back into the Bitmap Style Designer and then save out your new style. The style that you save out can then be loaded in the TStyleBook. It appears like you will need to customize the style for each platform (Android, IOS, OSX, Windows) as each one will be different. This tutorial write up is posted as an answer to a question on StackOverflow. You should also be able to use this same functionality in Appmethod. I think this same technique also applies to customizing a TListView.

Head over and check out the full question and answer on customizing the TListBox selected item color over on StackOverflow.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply