Results 1 to 3 of 3

Thread: [RESOLVED] Why Font Size clears all Bold formats in RichTextBox ?

  1. #1

    Thread Starter
    Lively Member Mahdi Jazini's Avatar
    Join Date
    Feb 2014
    Location
    Iran / Tehran
    Posts
    89

    Resolved [RESOLVED] Why Font Size clears all Bold formats in RichTextBox ?

    Why Font Size clears all Bold formats in RichTextBox?

    Using the following command removes all bold texts in the RichTextBox !!!

    Code:
    Richtext1.Font.Size = 16
    If i do this command before bolding, the problem will be resolved. but the structure of my problem is different. it needs to change the font size after that

    How to save the bold format?

    Thank you

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,733

    Re: Why Font Size clears all Bold formats in RichTextBox ?


  3. #3

    Thread Starter
    Lively Member Mahdi Jazini's Avatar
    Join Date
    Feb 2014
    Location
    Iran / Tehran
    Posts
    89

    Re: Why Font Size clears all Bold formats in RichTextBox ?

    Actually i want to do something like this:

    http://www.vbforums.com/showthread.p...nd-Zoom-Levels

    But it seems the richtextbox doesn't support zoom (by code)


    Edit:

    The problem resolved. Details are in this post:


    http://www.vbforums.com/showthread.p...=1#post5127479
    Last edited by Mahdi Jazini; Jan 12th, 2017 at 11:52 AM. Reason: Problem Resolved

Tags for this Thread

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