S
SamSpade
I have a user control called TextControl on which I have a RichTextBox
control.
TextControl1 is an instance of the User Control on a form.
I do the following in the form:
TextControl1.Font = New Font(FontFamily.GenericMonospace, 10,
FontStyle.Regular, GraphicsUnit.Point)
And the RichTextBox takes on the specified font - which is what I wanted but
why does it happen?
Does a control (RichTextBox) use the parent's (UserControl) font sometimes??
Thanks in advance
control.
TextControl1 is an instance of the User Control on a form.
I do the following in the form:
TextControl1.Font = New Font(FontFamily.GenericMonospace, 10,
FontStyle.Regular, GraphicsUnit.Point)
And the RichTextBox takes on the specified font - which is what I wanted but
why does it happen?
Does a control (RichTextBox) use the parent's (UserControl) font sometimes??
Thanks in advance