【问题标题】:How to put my published properties into the specified category of Object Inspector?如何将我发布的属性放入 Object Inspector 的指定类别中?
【发布时间】:2011-08-09 05:27:41
【问题描述】:

我有自己的视觉组件。它有许多已发布的属性和事件。我希望它们在设计时显示在 Object Inspector 的指定标准类别中(Visual、Layout、Drag Drop / Docking、联动等)。

现在我所有的属性都属于杂项类别。

【问题讨论】:

    标签: delphi properties delphi-2010 categories


    【解决方案1】:

    您可以使用在 DesignIntf​​ 中定义的 RegisterPropertyInCategory 函数。 Example.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-06-03
      • 2013-01-28
      • 2012-01-12
      • 1970-01-01
      • 2013-07-10
      • 1970-01-01
      • 1970-01-01
      • 2018-03-08
      相关资源
      最近更新 更多