控制形式访问大小 [英] Controlling size of forms in Access

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

问题描述

所以,我有一个访问应用程序,我想被打开后,某些形式的最大化,并在打开时他人为中型。但是,如果我尝试是这样的:

So I have an Access application, and I'd like some forms to be maximised when they are opened, and others to be medium-sized when they are opened. However, if I try something like this:

Private Sub Form_Activate()
  DoCmd.Maximize
End Sub

Private Sub Form_Activate()
  DoCmd.Restore
End Sub

它最大化或还原每一个打开的窗口,这是不是我要找的效果。

it has the effect of maximizing or restoring every open window, which isn't what I'm looking for.

有没有解决这个办法吗?

Is there any way around this?

我使用的是Access 2003中。

I'm using Access 2003.

推荐答案

<一个href="http://stackoverflow.com/questions/217132/controlling-size-of-forms-in-access#217137">ΤΖΩΤΖΙΟΥ是说,要么全部最大化的时候,还是没有100%正确的。如果你真的要管理这个问题,你要读一点点<一href="http://www.utteraccess.com/forums/printthread.php?Cat=&Board=84&main=642287&type=thread"相对=nofollow> 此处 (看code建议和方法来称呼它),了解什么是做的,并最终建立自己的解决方案,根据您的需要。

ΤΖΩΤΖΙΟΥ is 100% right when saying that either all are maximised, or none. If you really want to manage this issue, you'll have to read a little bit here (look at the code proposed and the way to call it), understand what is done, and eventually build your own solution depending on your needs.

这篇关于控制形式访问大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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