I'm trying to set the fontsize in a RichTextBox with a ComboBox, but I can't get it to work! I'm“using the following code:
Text.SelFontSize = SizeFont.List(SizeFont.ListIndex)
Printable View
I'm trying to set the fontsize in a RichTextBox with a ComboBox, but I can't get it to work! I'm“using the following code:
Text.SelFontSize = SizeFont.List(SizeFont.ListIndex)
Should it not be
RichTextBox1.Font.Size = ........?
Try this:
RichTextBox.SelFontSize = Combo1.Text
Mary :)
Edited by Cokita on 03-08-2000 at 06:22 PM
richtextbox1.fontsize = 12
maybe?