Jump to content
Michele

TListView and Stylebook on 10.4

Recommended Posts

Hi!

Can someone confirm that styles are not applyed on tlistview? (seems a bug to me...all other controls are styled ok using stylebook).

It remains white.

 

Any suggestion?

Share this post


Link to post

I can confirm it.  The only solutions are to use a different control (such as the Virtual String Tree) or to use the following library.

 

RRuz VCL Style Utils

 

-Mark

 

Share this post


Link to post

I should not be so affirmative. 

@MarkShark it's a FMX.TListView not a VCL one.

@Michele If you think : style of an item like for a FMX.TListBox, yes you can't  change Item style. You can only change Appearance and only use one for all the list, The Dynamic appearance is one of the most adaptable.

if you think : changing background colors you can

image.thumb.png.194916b3d4a6ed916981102ab9d402ae.png

 

You can see above a personalized style, quick done, I only change itembackground.Color and buttontext.Color (listviewappearance = ImageListItemRightButton)

 

Share this post


Link to post

Ha!  Sorry about that.  I didn't notice this question was in FMX!

 

-Mark

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×