TextEdit (gb.qt4.ext)
此控件实现了一个富文本编辑器。
属性
Inherited properties
方法
Inherited methods
事件
Inherited events
Note:
TextEdit.Foreground属性对此控件没有影响。
You must either use HTML syntax to set text colors inline or pre-set TextEdit.Format.
Color
Eg.
TextEdit1.RichText = "<font color=red>This is some red text</font> and this text is default text color"
Or this..
TextEdit1.Format.Color = Color.Red
TextEdit1.Insert("This is some red text")
TextEdit1.Format.Color = Color.Default
TextEdit1.Insert(" and this text is default text color")