PowerBuilder 12 与 Visual Studio - 设计器支持

发布于 2024-09-25 01:00:23 字数 81 浏览 0 评论 0原文

我有为 VS2008 和 VS2010 设计的控件。它也适用于 Power Builder 12 设计器吗?或者我需要创建任何 design.dll

I have control designed for VS2008 and VS2010. Will it work in Power Builder 12 designer as well? or Would I need to create any design.dll

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

坏尐絯 2024-10-02 01:00:23

这取决于控件,但一般来说 PowerBuilder 12(及之前的版本)可以通过 OLE 使用外部控件,没有任何问题。您可以通过 Insert --> 将它们添加到您的应用程序中控制--> OLE 菜单项,然后系统会提示您提供一个已注册对象的列表以供选择。

编码时,您需要使用“对象引用”或点符号来引用属性和/或方法。在 PB 中一切都工作正常,但它对用户不太友好,您不能执行命名参数,并且需要正确地使用语法(并捕获异常)以避免空对象引用崩溃。

希望我正确理解你的问题,这会有所帮助。

问候,
富有的

It depends on the control but in general PowerBuilder 12 (and prior versions) can use external controls via OLE without any problem. You add them to your application via Insert --> Control --> OLE menu item, then you'll be prompted with a list of registered object to select from.

When coding you'll need to use the "object reference" or dot notation to reference properties and/or methods. Everything works fine in PB but it's not as user friendly you can't do named arguments and need to get your syntax just (and catch exceptions) right to avoid null object reference crashes.

Hope that I understood your question correctly and this helps.

Regards,
Rich

那小子欠揍 2024-10-02 01:00:23

您的目标是哪个版本的 PowerBuilder?如果它是一个 .Net 控件并且您的目标是 PB.Net,那么它基于 Visual Studio shell,并且可以与您为 Visual Studio 所做的工作正常工作。

what version of PowerBuilder are you targetting? If its a .Net control and you are targetting PB.Net, its based on the visual studio shell and will work fine with what you've done for Visual Studio.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文