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

时间:2021-11-18 02:30:33

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.

为例。

#1


1  

You need to change the Z order:

你需要改变Z的顺序:

Textbox1.ZOrder msoBringToFront

for example.

为例。