• 0

[VB6] Adding formatted text to a Rich Text Box


Question

1 answer to this question

Recommended Posts

  • 0
Dim szColorTable As String

szColorTable = "{\colortbl;"
szColorTable = szColorTable & "\red255\green0\blue0;" ' red
szColorTable = szColorTable & "\red0\green255\blue0;" ' green
szColorTable = szColorTable & "\red0\green0\blue255;" ' blue
szColorTable = szColorTable & "}"
    
RTB.TextRTF = "{" & szColorTable & "\b \cf1 Loading Game\cf0 \b0 \n }"

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.