全屏表格问题。 [英] Full-Screen Forms question.

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

问题描述




我们如何在全屏幕上运行应用程序。我的意思是当我们按下右上角的最大化按钮时,表格上的所有控件如

文本框,数据网格也会自动调整大小或重新定位

角落

表格。


目前,当我最大化表格时,表格上的控件不是

重新定位。

我们怎么能这样做..


干杯,


Naveen。

解决方案

Naveen Mukkelli写道:



我们如何在全屏幕上运行应用程序。我的意思是当我们按下表格右上角的最大化按钮时,表格上的所有控件如
文本框,数据网格也会自动调整大小或重新定位


目前,当我最大化表格时,表格上的控件不会重新定位。
我们怎么能这样做..

干杯,

Naveen。



查看控件上的dock和anchor属性。

JB


你必须弄清楚你希望他们如何重新定位,并执行代码来改变他们的位置和/或大小。 (这可能需要相当多的金额

的想法。)我认为您想要处理的事件称为OnResize。


Naveen Mukkelli <的Na ************ @ discussions.microsoft.com>写在

消息新闻:4D ********************************** @ microsof t.com ...



我们如何在全屏幕上运行应用程序。我的意思是当我们按下表格右上角的最大化按钮时,表格上的所有控件如
文本框,数据网格也会自动调整大小或重新定位


目前,当我最大化表格时,表格上的控件不会重新定位。
我们怎么能这样做..

干杯,

Naveen。



我想你一定要听约翰b ....

有两种方式,简单或复杂......


组件一,它们有一个组件,称为弹性(如果我记得

well)它就像html上的一个表格,你可以把%宽度和高度... ...

非常好...


或者在你的应用程序上放一个面板,并使用dock属性,并在面板中将
放入你的控件,并将dock属性设置为full ...

致敬!


" Michael A. Covington"写道:

你必须弄清楚你希望他们如何重新定位,并执行代码来改变他们的位置和/或大小。 (这可能需要相当多的思考。)我认为你想要处理的事件叫做OnResize。

Naveen Mukkelli <的Na ************ @ discussions.microsoft.com>在消息新闻中写道:4D ********************************** @ microsof t.com。 ..



我们如何在全屏幕上运行应用程序。我的意思是当我们按下表格右上角的最大化按钮时,表格上的所有控件如
文本框,数据网格也会自动调整大小或重新定位


目前,当我最大化表格时,表格上的控件不会重新定位。
我们怎么能这样做..

干杯,

Naveen。




Hi,

How can we run the app on full-screen. I mean all the controls such as,
text boxes, data grids on the form would also be resized or re-located
automatically when we press maximize button on the top right corner
of the form.

Currently, when I maximize the form.. controls on the form are not
relocating.
How can we do this..

Cheers,

Naveen.

解决方案

Naveen Mukkelli wrote:

Hi,

How can we run the app on full-screen. I mean all the controls such as,
text boxes, data grids on the form would also be resized or re-located
automatically when we press maximize button on the top right corner
of the form.

Currently, when I maximize the form.. controls on the form are not
relocating.
How can we do this..

Cheers,

Naveen.


check out the dock and anchor properties on the controls.
JB


You have to figure out how you want them to relocate, and execute code to
change their position and/or size. (This may require an appreciable amount
of thought.) I think the event you want to handle is called OnResize.

"Naveen Mukkelli" <Na************@discussions.microsoft.com> wrote in
message news:4D**********************************@microsof t.com...

Hi,

How can we run the app on full-screen. I mean all the controls such as,
text boxes, data grids on the form would also be resized or re-located
automatically when we press maximize button on the top right corner
of the form.

Currently, when I maximize the form.. controls on the form are not
relocating.
How can we do this..

Cheers,

Naveen.



i think you must to listen to john b....

there are 2 ways, the simple or the complicated...

component one, they have a component, that calls elastic (if i remember
well) its like a table on html, and you can put % width and hights... its
really good one...

or put on your application a cuple of panels, and use the dock property, and
in the panels put your controls with dock property set to full...
salute!

"Michael A. Covington" wrote:

You have to figure out how you want them to relocate, and execute code to
change their position and/or size. (This may require an appreciable amount
of thought.) I think the event you want to handle is called OnResize.

"Naveen Mukkelli" <Na************@discussions.microsoft.com> wrote in
message news:4D**********************************@microsof t.com...

Hi,

How can we run the app on full-screen. I mean all the controls such as,
text boxes, data grids on the form would also be resized or re-located
automatically when we press maximize button on the top right corner
of the form.

Currently, when I maximize the form.. controls on the form are not
relocating.
How can we do this..

Cheers,

Naveen.




这篇关于全屏表格问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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