Page Rank

Subscribe

Categories

Recent posts

Alexa Rank

Working of Color Dialog in vb


  • This topic explains about the working of Color Dialog in vb programming.
  • Tools used in the working of Color Dialog in vb: Button1 (Button1), RichTextBox1 (RichTextBox1), ColorDialog1 (ColorDialog1).

RichTextBoxWorking of Color Dialog in vb

  • In RichTextBox, they are similar to TextBoxes, but they provide some advanced features when compared to standard TextBox in VB.NET.
  • In RichTextBox, it allows text formatting, including color change, font change to a particular text in the RichTextBox.
  • Using RichTextBox, we can create our own word processors. In RichTextBox, it allows user to enter and edit text.
  • Text can be directly assigned to the control or can be loaded from a RichText Format (RTF) or plain text file.

RichTextBox Syntax

ColorDialog ClassWorking of Color Dialog in vb

  • Color Dialog class represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

  • Syntax Working of Color Dialog – Working of Color Dialog in vb

ColorDialog.ShowDialog MethodWorking of Color Dialog in vb

  • Helps to run a Color Dialog Box with a default browser

ColorDialog.Color PropertyWorking of Color Dialog in vb

  • Gets or sets the color selected by the user.
  • Syntax for ColorDialog.Color

Change Back color of a RichTextBoxWorking of Color Dialog in vb

Change font color of a RichTextBoxWorking of Color Dialog in vb

Change color of a selected text of RichTextBoxWorking of Color Dialog in vb

Change back color of a selected text in RichTextBoxWorking of Color Dialog in vb

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">