使用.NET Framework 3.5的OCX控件上的锚定设置很奇怪的问题 [英] Weird issue with Anchor Setting on OCX controls using .NET Framework 3.5

查看:76
本文介绍了使用.NET Framework 3.5的OCX控件上的锚定设置很奇怪的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Visual Studio 2005中使用VB创建了Windows窗体.该窗体具有两个Active X Interop控件,这些控件具有不同的Anchor设置.该表单对于大多数用户来说效果很好,但是一个用户遇到的问题是两个控件的行为就像切换了锚设置一样.

关于这个有什么想法吗?重新安装框架可以解决问题吗?

2011年2月16日更新
我道歉.我进入用户的框,发现它的行为不像锚被交换.它实际上是控件的大小和位置,与其他计算机上的控件和位置不一样.看来XP设置正在导致某些控件的大小增加,而其他控件则没有.

I''ve created a Windows Form with VB in Visual Studio 2005. The form has two Active X Interop controls which have different Anchor settings. The form works well for most users, but one user has an issue where the two controls behave as if their anchor settings were switched.

Any ideas on this one? Could a reinstall of the framework fix it?

2/16/2011 Update
I apologize. I got onto the user''s box and found that it is not behaving like the anchor was swapped. It''s actually the size and location of the controls that are not behaving the same as on other computers. It looks like an XP setting is causing some controls to increase in size while others are not.

推荐答案

那肯定看起来很奇怪.您确定看到奇怪行为的用户与其他用户具有相同的版本吗?也许他们得到了一个不同的构建,最初的锚定设置被逆转了.
That definitely seems odd. Are you sure that the users who see the weird behavior have the same builds as the other users? Perhaps they got a different build where the anchor settings were initially reversed.


这篇关于使用.NET Framework 3.5的OCX控件上的锚定设置很奇怪的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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