migajek
migajek

Reputation: 8614

Transparent TCustomControl?

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?

Upvotes: 13

Views: 3910

Answers (1)

Sertac Akyuz
Sertac Akyuz

Reputation: 54832

Inherit from TCustomTransparentControl and include csAcceptsControls control style at creation.

Upvotes: 27

Related Questions