Embarcadero RAD Studio XE2 中是否可以(本地)拥有嵌套表单?
我正在构建一个应用程序,我希望在一个主窗体内有“嵌套”窗体,但我不知道如何使用任何组件来执行此操作。
我确信我可以很容易地编写一些类似的功能,但我不想走这条路,直到我确定没有“内置”选项/属性。
我使用的是 C++Builder 版本,但我很确定这在这里没有太大区别。
任何帮助将不胜感激,我对这个工具很陌生,在网上找不到任何关于这个的信息
I'm building an application where I'd like to have "nested" forms inside of one main form, but I can't figure out how to do this with any of the components.
I'm sure I could pretty easily code some similar functionality, but I didn't want to go down that road until I was sure there wasn't a "built-in" option/property for this.
I'm using the C++Builder version, but I'm pretty sure that doesn't make much of a difference here.
Any help would be greatly appreciated, I'm pretty new to the tool and couldn't find anything about this online
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在
VCL
应用程序中,您可能正在寻找 MDI。将父窗体的
FormStyle
设置为fsMDIForm
,并将每个子窗口的FormStyle
设置为fsMDIChild
。不过,您应该知道,
MDI
已被弃用多年,并且大多数应用程序都不使用它。就连 MS Office 也已经放弃了 MDI 界面十多年,而是在内部实现了一些模仿它的东西。In
VCL
applications, you're probably looking for MDI.Set your parent form's
FormStyle
tofsMDIForm
, and each of your child window'sFormStyle
tofsMDIChild
.You should be aware, though, that
MDI
has been deprecated for years now, and is not used by most applications. Even MS Office has forsaken the MDI interface for more than a decade, implementing something internally that mimics it instead.