使用acCmdAppMinimize显示两种形式? [英] Two forms showing with acCmdAppMinimize?

查看:314
本文介绍了使用acCmdAppMinimize显示两种形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一次在屏幕上使用两个表单的acCmdAppMinimize。目前,如果我有一个表单打开数据库(在OnLoad事件中使用DoCmd.Maximize),然后在第一个表单的顶部打开一个弹出表单,则第一个表单在第二个表单出现时消失。


或者,我希望只显示Access容器,而不显示本机菜单。取消选中Startup中的所有内容会除了文件 - 编辑 - 插入 - 记录 - 帮助菜单之外的所有内容。


有没有人有相关经验?


谢谢!

I''d like to use acCmdAppMinimize with two forms on the screen at once. Currently, if I have a form opening the db (with DoCmd.Maximize in the OnLoad event) and then a popup form on top of the first form, the first form vanishes when the second form appears.

Alternatively, I like to have both showing with just the Access container showing, with no native menus showing. Unchecking everything in Startup gets rid of everythinh except File - Edit - Insert - Records - Help menu.

Does anyone have any relevant experience?

Thanks!

推荐答案

这会做你想做的吗?


DoCmd.RunCommand acCmdTileVertically
Will this do what you would like?

DoCmd.RunCommand acCmdTileVertically


对不起,没详细解释清楚!我最大化了一个较小的弹出窗口,我希望它们都出现。当弹出窗口出现时,较大的(背景形式)会消失。


但是,我会把你的回复藏起来供将来参考!
Sorry, didn''t explain clearly enough! I have a maximized from with a smaller popup form on top and I want them both to appear. Currently the larger (background form) disappears when the popup appears.

I will, however, stash your response away for future reference!


I仍然不明白也许你在那个按钮点击上有一些代码,或者某个地方让第一个表单隐藏起来。我可以制作一个弹出窗口,但仍然看到第一种形式没问题....
I still don''t understand maybe you have some code on that button click, or somewhere making the first form hide itself. I can make a popup and still see the first form no problem....


这篇关于使用acCmdAppMinimize显示两种形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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