Web浏览器控件在调整大小后是否保持形状。

编程入门 行业动态 更新时间:2024-10-23 22:33:46
本文介绍了Web浏览器控件在调整大小后是否保持形状。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个带有Web浏览器控件的访问表单,我正在尝试使用表单调整大小。代码使Web浏览器控件闪烁并增长到表单的确切尺寸,并在访问表单的其余部分留出顶部空间......

I have an access form with a web browser control and I''m trying to enable it to resize with the form. The code causes the web browser control to shink and grow to the exact dimensions of the form, and leaves space at the top for the rest of the access form...

展开 | 选择 | Wrap | Line数字 推荐答案

这听起来像其他东西(不包括在你的帖子中)负责调整大小。发布的代码清楚地起作用(正如你已经解释过的那样),所以我们(显然你首先)需要开始寻找其他地方。表单和/或浏览器控件的属性如何?任何其他可能调整大小的代码? This sounds like something else (not included in your post) is responsible for the resizing. The code as posted clearly works (as you''ve explained it), so we (You first obviously) need to start looking elsewhere. What about the properties of the form and/or the browser control? Any other code that may be resizing it?

你好NeoPa, 感谢您的回复。我评论了以下几行。该程序不起作用,但问题停止了。浏览器根本不会改变形状,但当我点击记录选择器或在浏览器中的字段中添加文本时,它不会展开并占用表单的其余部分。 如果我将其设置回来,问题就会回来。它显然涉及Application.Echo。除此之外,我无法理解。 Hi NeoPa, Thanks for the reply. I commented out the following lines. The program does not work, but the problem stopped. The browser does not change shape at all, but when I click on the record selector or add text to a field in the browser, it does not expand and over take the rest of the form. If I set it back, the problem comes back. It obviously involves the "Application.Echo". Beyond that, I can''t figure it out. 展开 | 选择 | Wrap | 行号

良好的逻辑思维亚当。显然它与某种方式的代码有关。我真的不确定我能看到怎么样。 dblHeaderHeight 虽然看起来有些糟糕。它什么时候实际显示预期的大小?我永远不会期待它,因为这个价值似乎与Twips有很大的不同。厘米或英寸或其他东西。我实际上希望它能填满你的整个表格,或者至少几乎所有表格你都不会注意到任何差距。 Good logical thinking Adam. Clearly it is related to this code somehow. I''m really not sure I can see how though. dblHeaderHeight looks a bit suss though. When does it actually show the expected size? I would never expect it to as that value seems to be in something quite different from Twips. Centimetres or inches or something. I would actually expect it to fill up your whole form, or at least so nearly all of it that you wouldn''t notice any gap.

更多推荐

Web浏览器控件在调整大小后是否保持形状。

本文发布于:2023-10-08 01:49:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1471162.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   形状   浏览器   大小   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!