[Visual Basic] 纯文本查看 复制代码 Color = Combo11.Text
Select Case Combo11.Text
Case Combo11.Text = "红色"
fontColor = 255
Case Combo11.Text = "绿色"
fontColor = 65280
Case Combo11.Text = "蓝色"
fontColor = 16711680
Case Combo11.Text = "黄色"
fontColor = 65535
Case Combo11.Text = "蓝色"
fontColor = 65280
Case Combo11.Text = "黑色"
fontColor = 0
Case Combo11.Text = "白色"
fontColor = 16777215
Case Combo11.Text = "品红"
fontColor = 16711935
Case Combo11.Text = "紫红"
fontColor = 8388736
Case Combo11.Text = "藏青"
fontColor = 8388608
Case Combo11.Text = "深青"
fontColor = 8421376
Case Combo11.Text = "藏蓝"
fontColor = 14692440
Case Else
fontColor = 8421504
End Select |