Lost Password?


  #1 (permalink)  
Old 04-22-2008, 03:15 PM
QuickDan QuickDan is offline
Newbie
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
QuickDan is on a distinguished road
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-22-2008, 04:18 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,852
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default 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!
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
common dialog



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Starting C# with C# 2008 Express Edition Jordan CSharp Tutorials 19 08-08-2008 01:48 PM
How to save the text in a text file ??? kresh7 Visual Basic Programming 0 11-25-2007 11:30 AM
How to style fonts of a text in a simple page? c0de Tutorials 3 09-15-2007 11:08 PM
HTML Basic Formatting clookid Tutorials 14 03-06-2007 04:10 PM


All times are GMT -5. The time now is 11:05 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads