|
-
Jan 24th, 2011, 12:55 PM
#1
Thread Starter
Lively Member
Word-like font and size selection
Hello everyone, I'm working on a word processor (yes, the thread with the quit forms and the count times open is the same word processor)
It's called iRobosoft Word. The 3rd version is at sourceforge and the 4th is in RC stage.
The 4th version is quite a major upgrade, but back to the topic.
For font I used:
Code:
Private Sub Rich_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Rich.TextChanged
Font1.Text = Rich.SelectionFont.ToString
End Sub
Font1 = ComboBox1 for Font
Size1 = ComboBox2 for Size
(Sorry can't figure out why the VBCode option is not working)
The output of the command is
[Font: Name=Tahoma, Size=8.25, Units=3, GdiCharSet=0, GdiVerticalFont=False]
which is not understandable to any human except us, VB.NET programers.
I would like the Name only to be displayed in the Font1, and Size in Size1.
That's one thing, I would like to select Font and Size like you do in Word, Corel, Openoffice, etc.
Please help.
The prize for helping will be a thank you, and rep.
For the ones trying to help but doesn't work, they only get the thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|