如何将表格放置在另一表格上? [英] How to place form over another form?

查看:178
本文介绍了如何将表格放置在另一表格上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在主表单上放置2个或更多表单(不是mdi).

How is it possible to place 2 or more form over main form (Not mdi).

推荐答案

如果您正在谈论在表单上的放置在屏幕上,只需设置表单的Left和Top属性.如果可以移动和/或调整表单的大小,请确保不要在通过移动或调整大小触发的事件处理程序中执行此操作,否则表单将被卡住. :)
If you''re talking about the placement on the form on-screen, simply set the Left and Top properties of the form(s). If the form(s) can be moved and/or resized, make sure you don''t do this in an event handler triggered by moving or resizing, or the form(s) would become stuck. :)


您是指模式对话框吗? :)
do you mean a modal dialog? :)


阅读有关表格的IsMDIContainer属性的信息....希望您能获得一些有关您的问题的有用信息
Read about IsMDIContainer Property of the Form.... Hope u wil get Some useful Information regarding ur problem


这篇关于如何将表格放置在另一表格上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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