www.un.org/Depts/DGACM/index_spanish.htm 主要的屏幕:
Here you can find a way to get the screen size of the primary screen:
How to retrieve screen size/resolution in MS Access VBA to re-size a form
在你开放之后,你可以使用你手法。
DoCmd.MoveSize right, down, width, height
• 转播主要屏幕上的人群。
<><>Arguments
Name |
Required/Optional |
Data Type |
Description |
Right |
Optional |
Variant |
The new horizontal position of the window s upper-left corner, measured from the left edge of its containing window. |
Down |
Optional |
Variant |
The new vertical position of the window s upper- |
Width |
Optional |
Variant |
The window s new width. |
Height |
Optional |
Variant |
The window s new height. |
YourRightArg = (ScreenWidth / 2) + (PopupFormWidth / 2)
YourDownArg = (ScreenHeight / 2) + (PopupFormHeight / 2)
www.un.org/Depts/DGACM/index_spanish.htm 我的个人解决办法
我用表格驱散我的人。 左上和顶指的是主动的“见窗”,而不是主要屏幕。
Sub Move(Left, [Top], [Width], [Height])
Member of Access.Form