在文本框中查看文本文件,格式与标签相同 [英] View text file in textbox ,same format as label

查看:82
本文介绍了在文本框中查看文本文件,格式与标签相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


这是一个非常难以理解的问题。基本上我打开.txt文件

到标签,但有时.txt文件太长,你需要向下滚动
。因此,当我将txt文件打开到文本框中时,它与标签的格式不同,标签似乎是分隔线条,你可以更容易阅读。

任何想法''s关于如何阅读与标签相同的格式


对不起,如果我正确解释了。

GobbleGob。

Hi guys,

This is a very hard question to word. Basically i am opening a .txt file
into a label, but sometimes the .txt files are too long and you need to
scroll down. So when i open the txt file into a textbox it is not in the same format as a label , the label seem''s to seperate lines and you can read it easier.
any idea''s on how to read as the same format as a label

Sorry if i havnt explained properly.
GobbleGob.

推荐答案




对于TextBox集属性:

MultiLine = True


REgards

Veena
Hi,

For TextBox set property :

MultiLine = True

REgards
Veena






对于TextBox设置属性:


MultiLine = True


REgards

Veena
Hi,

For TextBox set property :

MultiLine = True

REgards
Veena



您好Veena,

像标签​​那样的单独行。

Hi Veena,
That doent seperate line like a label does.





什么是代码,用于将文件内容填充到标签或文本框中??


REgards

Veena
Hi,

What is the Code, you are using to Populate the Contents of File into Label or Textbox..?

REgards
Veena


这篇关于在文本框中查看文本文件,格式与标签相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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