Page 1 of 1

How to change default image resources ?

Posted: Tue Sep 15, 2015 4:05 pm
by 11111
How to change default image resources ?
Like this bullets:
Image

Posted: Wed Sep 16, 2015 10:27 am
by Sergey Tkachenko
You can modify properties of rvActionParaList.ModifiedTemplates[0].ListStyles

Posted: Wed Sep 16, 2015 10:32 am
by 11111
Thanks,

Where I can find this resource in source code, to modify it once ?

Posted: Wed Sep 16, 2015 12:45 pm
by Sergey Tkachenko
I highly recommend assigning a new picture to this property instead of modifying source code.
With modified source code, it will be very difficult to upgrade to a newer version.

But if you still decide to modify it, it is in ListGalleryFrm.pas.
Default list styles are in rvsTemplate1.ListStyles and rvsTemplate2.ListStyles on TfrmRVListGallery.
Note that properties of these list styles are partially defined in DFM, and partially in code.