How to change default image resources ?

General TRichView support forum. Please post your questions here
Post Reply
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

How to change default image resources ?

Post by 11111 »

How to change default image resources ?
Like this bullets:
Image
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can modify properties of rvActionParaList.ModifiedTemplates[0].ListStyles
11111
Posts: 25
Joined: Sat Feb 07, 2015 12:02 pm

Post by 11111 »

Thanks,

Where I can find this resource in source code, to modify it once ?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply