0
votes

I have done some FireMonkey stuff in XE2, in this case I'm having troubles with a customized TListBox.

In XE2 I built this customized TListBox by removing it's background and surrounding rectangle (basically I only need the 'grouping of child items' functionality provided by TListBox. This was simple, drop a TListBox, hit 'edit custom style', select the background rectangle, edit the fill and the stroke and you're golden.

Now we're moving to XE5 and I cannot reproduce the same behavior. Using the style book editor I can see the background (which is now TStyleObject and not TRectangle), but I cannot make the changes I could make before. I see tutorials on how to add stuff to a TListBox, but not on how to take default behavior away.

Can someone explain how to achieve this specific behavior, or point me towards a good tutorial?

1

1 Answers

1
votes

Try changing the StyleLookup property of the list box to transparentlistboxstyle