vb RichTextBox1字体颜色
发布网友
发布时间:2024-10-12 08:50
我来回答
共1个回答
热心网友
时间:2024-10-14 12:33
For i = 0 To 8
If RichTextBox1(i).Enabled = True Then
For j = 1 To Len(RichTextBox1(i).Text)
If Mid(Form1.Label6(i), j, 1) <> Mid(RichTextBox1(i).Text, j, 1) Then
RichTextBox1.SelStart=j
RichTextBox1.SelLength=1
RichTextBox1.SelColor = &HFF&
End If
Next
End If
Next