封闭式同一位置的新表格 [英] New Form In Same Position of Closed Form

查看:117
本文介绍了封闭式同一位置的新表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按下下一步按钮弹出第二个表单并隐藏原始表单。如何使弹出窗口显示在与原始坐标相同的坐标中的下一个窗体?这将使表单看起来像是在同一个地方重新加载新信息。任何帮助是极大的赞赏!在此先感谢!

I make a second form pop-up and hide the original form by pressing my Next button. How do I make the next form(s) that pop-up appear in the same coordinates as the original? This will make it look like the form is just reloaded in the same spot with new info on it. Any help is greatly appreciated! Thanks in advance!

推荐答案

您是否曾参与过表格的TOP和Left属性?
Have you worked on TOP and Left property of the form ?


很容易做到这一点。

首先注意高度;你的第一个表格的宽度属性;并设置该表单的顶部和左侧属性,使其显示在您喜欢的任何位置。

现在控制您的rsecond表单并设置所有属性(宽度,高度,顶部,左侧)与它们相同第一种形式。它将完成所需的工作。

祝你好运
Its very easy to do that.
First of all note the height; width properties of your first form; and set top and left properties of that form to make it appear whereever you like.
Now take control of you rsecond form and set all properties (width, height,top,left) same as they were for first form. It will do the desired job.
good luck





如果你的两张表格都相同尺寸,然后

只需在两个表格的属性表中设置此属性:

StartUpPosition = 2 - CenterScreen


自动,两个人都将在同一个位置弹出..


REgards

Veena
Hi,

If both of your Forms are of same size, then
Simply set this property in Property Sheet of both the forms:
StartUpPosition =2 - CenterScreen

Automatically, both will be Popped up in the Same Position..

REgards
Veena


这篇关于封闭式同一位置的新表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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