透明TCustomControl? [英] Transparent TCustomControl?

查看:172
本文介绍了透明TCustomControl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建从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?

推荐答案

继承自 TCustomTransparentControl ,并包含 csAcceptsControls 创建时的控制风格。

Inherit from TCustomTransparentControl and include csAcceptsControls control style at creation.

这篇关于透明TCustomControl?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆