如何把一个特定的文本框放在首位?

[英]How to bring top a specific textbox


I have a userform that contains a lot of objects.I am trying to widen some of the textboxs depending on text lenght and upon exit return textbox to it's original size.My problem is when i change the width,textbox next to it stays on front.I tried to find something on object properties that would help but nothing worked.Thanks for the help beforehand.

我有一个包含很多对象的用户表单。我正在尝试扩展一些文本框,这些文本框取决于文本lenght,当退出时,返回文本框到原始大小。我的问题是,当我改变宽度时,它旁边的文本框保持在前面。我试着在对象属性上找到一些有用的东西,但是什么都不管用。谢谢你事先的帮助。

1 个解决方案

#1


1  

You need to change the Z order:

你需要改变Z的顺序:

Textbox1.ZOrder msoBringToFront

for example.

为例。

智能推荐

注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2016/04/11/7515d2878389b68de6b3f006734b57ce.html



 
© 2014-2019 ITdaan.com 粤ICP备14056181号  

赞助商广告