我敢打赌有更好的方法可以做到这一点 [英] I'll bet there is a better way of doing this

查看:70
本文介绍了我敢打赌有更好的方法可以做到这一点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法获得与此相同的单行:

Dim tmp()As Integer = {100}


HistoryRichTextBox .SelectionTabs = tmp


这是一个VB6转换。这仍然是这样做的吗?


Mid(aHistoryRichTextBox.Text,lLpCnt,1)<> vbCr


这么多已经改变了!


谢谢


解决方案

Dim tmp()As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp(0)


-


OHM(特里伯恩斯)

。 。 。单手人。 。

如果你需要我的电子邮件,请问我


当你不知道自己在做什么时,过得很快


只是我 <是ne ******** @ a-znet.com>在留言中写道

新闻:eZ ************** @ tk2msftngp13.phx.gbl ...

我不能似乎得到了相同的一行:
Dim tmp()As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp


这是VB6转换。这仍然是这样做的吗?

Mid(aHistoryRichTextBox.Text,lLpCnt,1)<> vbCr

已经发生了很大变化!


谢谢



*只是我 <是ne ******** @ a-znet.com> scripsit:

我似乎无法获得与此相同的单行:
Dim tmp()As Integer = {100}

HistoryRichTextBox。 SelectionTabs = tmp




\\\

HistoryRichTextBox.SelectionTabs = New Integer(){100}

///


-

MS Herfried K. Wagner

MVP< URL:http:// dotnet .mvps.org />

VB< URL:http://dotnet.mvps.org/dotnet/faqs/>


抱歉,我的回答不正确,请参阅Herfrieds以获得正确的

实施。 (我没有查看RTB属性)

-


OHM(Terry Burns)

。 。 。单手人。 。

如果你需要我的电子邮件,请问我


当你不知道自己在做什么时,过得很快


单手男子(OHM - Terry Burns) < news.microsoft.com>在消息中写道

news:%2 *************** @ tk2msftngp13.phx.gbl ...

Dim tmp( )作为整数= {100}
HistoryRichTextBox.SelectionTabs = tmp(0)



OHM(特里伯恩斯)
。 。 。单手人。 。
如果你需要我的电子邮件,请问我

当你不知道自己在做什么时,过得很快

只是我 <是ne ******** @ a-znet.com>在消息中写道
新闻:eZ ************** @ tk2msftngp13.phx.gbl ...

我似乎无法得到一行相当于此:
Dim tmp()As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp


这是一个VB6转换。这仍然是这样做的吗?

Mid(aHistoryRichTextBox.Text,lLpCnt,1)<> vbCr

已经发生了很大变化!


谢谢




I can''t seem to get the one-line equivalent of this:
Dim tmp() As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp

This is a VB6 conversion. Is that still the way to do it?

Mid(aHistoryRichTextBox.Text, lLpCnt, 1) <> vbCr

So much has changed!

Thanks


解决方案

Dim tmp() As Integer = {100}
HistoryRichTextBox.SelectionTabs = tmp(0)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don''t know what you''re doing

" Just Me" <ne********@a-znet.com> wrote in message
news:eZ**************@tk2msftngp13.phx.gbl...

I can''t seem to get the one-line equivalent of this:
Dim tmp() As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp

This is a VB6 conversion. Is that still the way to do it?

Mid(aHistoryRichTextBox.Text, lLpCnt, 1) <> vbCr

So much has changed!

Thanks



* " Just Me" <ne********@a-znet.com> scripsit:

I can''t seem to get the one-line equivalent of this:
Dim tmp() As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp



\\\
HistoryRichTextBox.SelectionTabs = New Integer() {100}
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


Sorry, my response is incorrect, see Herfrieds for the correct
implementation. ( I didnt check the RTB property )
--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don''t know what you''re doing

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...

Dim tmp() As Integer = {100}
HistoryRichTextBox.SelectionTabs = tmp(0)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don''t know what you''re doing

" Just Me" <ne********@a-znet.com> wrote in message
news:eZ**************@tk2msftngp13.phx.gbl...

I can''t seem to get the one-line equivalent of this:
Dim tmp() As Integer = {100}

HistoryRichTextBox.SelectionTabs = tmp

This is a VB6 conversion. Is that still the way to do it?

Mid(aHistoryRichTextBox.Text, lLpCnt, 1) <> vbCr

So much has changed!

Thanks




这篇关于我敢打赌有更好的方法可以做到这一点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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