I’m trying to get something very subtle to work, it looks pretty awful right now. I’m trying to paint the background of a TGroupBox which I have overloaded the paint function of so that the corners are show through to their parent object. I’ve got a bunch of nested group boxes that look very decent without XPThemes.
Is there a way to paint part of a background transparent at runtime. I’m programming the form generator, not using Delphi design view.
I’m trying to duplicate this problem with the following steps:
1 – Set theme to Windows XP default
2 – Drop a TGroupBox on an empty form (align = alNone)
3 – Drop two TGroupBoxes inside the first one, with align = alBottom and align = alClient
But visually it looks just fine for me.
Can you provide some more info on exactly how you’ve designed the form? Some code pasted from the .DFM would be fine.
Here’s the relevant part of my DFM: