问题
I need to create transparent component inheriting from TCustomControl.. so it is custom painted, yet is container for other components.
Can you tell me how to achieve this?
回答1:
Inherit from TCustomTransparentControl and include csAcceptsControls control style at creation.
来源:https://stackoverflow.com/questions/6682396/transparent-tcustomcontrol