表格属性! [英] The Form Properties!

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

问题描述

在我的项目中,我希望窗体始终最大化,并且应该禁用使用鼠标拖动窗体的选项!


虽然我可以将所有形式都设置为我提出的条件,但我不知道如何处理某些形式以阻止它们被拖动,而且我怎么能使启动形式被拖了!


请建议!!!!!!!!!!!!!!! ???????????????? ??

In my project i want the forms to be maximized always and the option of draging it with a mouse should be disabled!

Though i can make all the form to the condition i proposed, i donno what to do to some of the forms as to stop them from being dragged, And also how can i make the startupform fro being dragged!

Please suggest!!!!!!!!!!!!!!!??????????????????

推荐答案

从你所说的我猜你想改变形式所以他们在windowstate最大化。在表单属性中,在列表底部附近有一个选项窗口状态。有3个选项,正常,最小化和最大化。更改此更改会更改表单在表单加载中的加载方式。希望这会有所帮助。


Geoff。
From what you''ve said I''m guessing that you''re wanting to change the form(s) so they''re in windowstate maximized. In the form properties there is an option near the bottom of the list "Window state" with 3 options, normal, minimised, and maximised. Changing this changes how the form loads in form load. Hope this helps.

Geoff.



在我的项目中我希望表格是总是最大化,并且应该禁用用鼠标拖动它的选项!


虽然我可以将所有形式都设置为我提出的条件,但我不知道如何处理某些形式以阻止它们被拖动,而且我怎么能使启动形式被拖了!


请建议!!!!!!!!!!!!!!! ???????????????? ??
In my project i want the forms to be maximized always and the option of draging it with a mouse should be disabled!

Though i can make all the form to the condition i proposed, i donno what to do to some of the forms as to stop them from being dragged, And also how can i make the startupform fro being dragged!

Please suggest!!!!!!!!!!!!!!!??????????????????



使用表格的属性

设置Moveable = false

Windowstate =最大化。

第二个问题???? conffusing.Plz详细解释。

Use the property of Form
Set Moveable=false
Windowstate=Maximize.
2nd Question???? conffusing.Plz Explain in Details.



Windowstate = Maximize。
Windowstate=Maximize.



如果它是VB6,则使用的常量的实际名称是 vbMaximized (值为2)。


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

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