Vb.net,richtextbox = richtextbox1.text? [英] Vb.net, richtextbox = richtextbox1.text?

查看:146
本文介绍了Vb.net,richtextbox = richtextbox1.text?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是vb.net的新手,来自vb6,所以问题是我不能这样做

I'm new in vb.net, came from vb6, so the problem is that i cant do this

RichTextBox = Richtextbox1.text 

就像我在vb6中所做的那样基本上RTB从缓冲区获取值然后我想将此值从RTB移动到RTB1,非常感谢



我尝试过: < br $>


like i did in vb6, so basicly RTB get value from a buffer then i want move this value from RTB to RTB1, thanks a lot

What I have tried:

RichTextBox = Richtextbox1.text

推荐答案

你在谈论VB6中旧的RichTextBox控件的默认属性。这个概念在VB.NET中仍然存在,但在控件中并没有真正使用。明确指定属性.Text更好,而不是依赖于知道默认属性是什么。

You're talking about the Default Property of the old RichTextBox control in VB6. The concept still exists in VB.NET but not really used in the controls. It's is FAR better to explicitly specify the property .Text instead of relying on knowing what the default property is.
OtherRichTextBox.Text = RichTextBox1.Text


这篇关于Vb.net,richtextbox = richtextbox1.text?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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