开发者

Delphi - How to register a custom form

D6 Prof.

Because of Z-Order problem I created a new form. I want to register this custom form in Delphi, to I can use it as normal form, and to 开发者_如何学运维I can replace my forms with this - to avoid Z-Order problems.

But I don't know, how to do it.

I created the class, but how to register?

How to force Delphi to show it under "New..." menu?

Thanks for your help: dd


If you added new properties or the like you have to call RegisterCustomModule() within a design-time package to register the form with Delphi. Use RegisterNoIcon to avoid registration in the component palette.


@durumdara, you can use the object repository from the delphi IDE.

check theses links

  • Working with the Delphi Object Repository
  • Using the Object Repository
  • Mastering Delphi 6 - Delphi Object Repository (Google books)


Right click the form and select "Add to repository..."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜