Closed srd-software closed 3 years ago
Alexey,
I tried your demo code and found my problem. I was missing a line in my code:
>>>theme1:= ATScrollbarTheme; //missing this
theme1.ColorBG:= clred;
theme1.ColorThumbFillOver := clWebOrangeRed ;
List.Theme.ColorBgListbox := clGreen;
list.Scrollbar.Theme:= @theme1;
NOW I can have different color scrollbar settings on different ATLists, and any ATLists set normally also work. I also added that to the implementation of my new flat theme records as well.
THANKS @Alexey-T
If I set any ATlist.Scrollbar.Theme to my new scrollbar theme record, they simply fail to show up in that list. If I take that out and don't assign the list's ATlist.Scrollbar.Theme to anything, they show again.