+ Reply to Thread
Results 1 to 2 of 2

Thread: Using a CommomDialog in text edition

  1. #1
    QuickDan is offline Newbie
    Join Date
    Apr 2008
    Posts
    2
    Rep Power
    0

    Using a CommomDialog in text edition

    The commonDialog control can chage the color, size and others with text.

    To use it, you shoud to have a RichTextBox and a CommonDialog.

    The functions can to be executeds any events, like all functions.

    Up next, have a example of CommonDialog functions for text using.

    * To change the color:

    CommonDialog.ShowColor 'to you select a color
    RichTextBox.SelColor = CommonDialog.Color

    * To change the size, face, bold, italic, strike:

    CommonDialog.Flags = 3
    ComonDialog.ShowFont
    RichTextBox.SelFontSize = CommonDialog.FontSize
    RichTextBox.SelFontFace = CommonDialog.FontFace
    RichTextBox.SelStrikeThru = CommonDialog.StrikeThru

    * To save files:

    CommonDialog.ShowSave
    RichTextBox.SaveFile CommonDialog.FileName

    It's a beggining instruction, but I'm being happy to can post

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Using a CommomDialog in text edition

    I thought you use a FontDialog? Never mind. It's good to see you starting out with some tutorials!

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-10-2010, 11:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

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