简体   繁体   English

在Windows 10下访问2016年相当大的窗体边界太窄

[英]Access 2016 sizable form borders too narrow under Windows 10

I don't know if this is a general problem with Office 2016, or if it is specific to Windows 10 users, but I find that sizable MDI forms in Access 2016 have a single-pixel border that is very hard to grab with the mouse. 我不知道这是Office 2016的一般问题,还是特定于Windows 10用户,但我发现Access 2016中的大尺寸MDI表单有一个单像素边框很难用鼠标抓取。

The form borders show as a single-pixel red line, and have no difference in appearance regardless of the mode of the form, whether the mode is "no border", "dialog", "sizable" or "thin". 表格边框显示为单像素红线,无论表格模式如何,模式是“无边框”,“对话框”,“大小”还是“薄”,外观都没有区别。 The border appears the same in design mode, as in the example below. 边框在设计模式下显示相同,如下例所示。

I've tried this on a couple of different computers running Office 2016 under Windows 10, and the problem is the same, so it's not a driver issue. 我在Windows 10下运行Office 2016的几台不同的计算机上试过这个,问题是一样的,所以这不是驱动程序问题。 I've opened the database under Office 2010 and Windows 7 and the borders come up at the normal size for Windows 7. I haven't tried Office 2016 under Windows 7 though. 我已经在Office 2010和Windows 7下打开了数据库,并且Windows 7的边框正常。我还没有在Windows 7下尝试使用Office 2016。

I have to assume that the problem is related to the way that form borders are handled in Windows 10, where the drop-shadow forms part of the draggable area. 我必须假设该问题与在Windows 10中处理表单边框的方式有关,其中阴影形成可拖动区域的一部分。

Is there any way around this? 有没有办法解决?

表格设计模式 - 访问2016 / Win 10

Yes and it's a PITA The 2 workarounds I've been using are, 1. 'slide' the mouse along the border you want while vigilantly watching for the curser to change and then go mouse button click. 是的,这是一个PITA我一直在使用的2个解决方法是,1。沿着你想要的边界“滑动”鼠标,同时警惕地观察光标改变然后点击鼠标。 2. use TAB to cycle through the graphic object then right-click to operate on it (align, size, position). 2.使用TAB循环浏览图形对象,然后右键单击以对其进行操作(对齐,大小,位置)。

This tip I have found on the Internet and tried it. 我在互联网上发现了这个技巧并尝试过。

I used playing around with the 2 values BorderWidth and PaddedBorderWidth found with Regedit in the key HKEY_CURRENT_YSER\\Control Panel\\Desktop\\WindowMetrics . 我在键HKEY_CURRENT_YSER\\Control Panel\\Desktop\\WindowMetrics使用了Regedit找到的2个值BorderWidth和PaddedBorderWidth。 After setting BorderWidth to -50 and PaddedBorderWidth to 0. The result was that the borders remained approximately 1 pixel wide, but once you selected it, they are shown wider. BorderWidth设置为-50并将PaddedBorderWidth设置为0.结果是边框保持大约1像素宽,但是一旦选择它,它们就会显示得更宽。

Still no solution for the fore mentioned primary question though. 尽管如此,仍然没有解决前面提到的主要问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM