Results 1 to 3 of 3

Thread: how can i change font or charecter size

Threaded View

  1. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: how can i change font or charecter size

    Hi,

    Because your using .Net then I think you could use the ' ShowDialog ' property.

    VB Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         If FontDialog1.ShowDialog <> DialogResult.Cancel Then
    3.             RichTextBox1.Font = FontDialog1.Font
    4.         End If
    5.     End Sub
    Hope it helps you even for PocketPc.

    Wkr,

    sparrow1
    Last edited by sparrow1; Jan 24th, 2006 at 10:47 AM.
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width