'テキストの内容が 2 桁の数字なら、背景色が水色になる。 Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged If TextBox1.Text Like "##" Then TextBox1.BackColor = Color.Cyan Else TextBox1.ResetBackColor() End If End Sub
Dim text As String = "5G"
'左から、Bold(serif) / Bold(sans) / Italic(serif) / Italic(sans) / Bold-Italic(serif) / Bold-Italic(sans) / Narrow / FullWidth Dim samples() As String = {"𝐕𝐁", "𝗩𝗕", "𝑉𝐵", "𝘝𝘉", "𝑽𝑩", "𝙑𝘽", "VB", "VB"}