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
|