简体   繁体   English

如何从文本框中删除光标(在进度栏中)?

[英]How to remove cursor from Textbox (in a progress bar)?

I used a tutorial from Excel Easy ( https://www.excel-easy.com/vba/examples/progress-indicator.html ) to create a progress bar ( TextBbox ). 我使用了Excel Easy( https://www.excel-easy.com/vba/examples/progress-indicator.html )中的教程来创建进度条( TextBbox )。 I followed the exact steps, but my progress bar has something weird in it. 我遵循了确切的步骤,但是进度条中有些奇怪的东西。

How can I remove the cursor from it? 如何从中删除光标?

( 进步,bar.png

How do I get rid of that type cursor-like-thingy? 如何摆脱类似光标的东西?

You must use Label instead of TextBox 您必须使用Label而不是TextBox

在此处输入图片说明

Set .Enabled Property to False .Enabled属性设置为False

在此处输入图片说明

This obviously goes without saying, that you won't be able to input anything inside the Textbox 这显然不用说,您将无法在Textbox输入任何内容

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

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