Click here to Skip to main content
15,895,740 members
Articles / Programming Languages / Visual Basic

Background Highlighting with the RichTextBox the System way.

Rate me:
Please Sign up or sign in to vote.
4.91/5 (19 votes)
27 Apr 2003CPOL 188.3K   4K   60  
Adds support for setting the background color in the RichTextBox more directly than volking's article.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RichTextTestBed", "RichTextTestBed.vbproj", "{48ECF899-3AB1-4906-B354-744978CC44F6}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RichTextEx", "RichTextEx\RichTextEx.vbproj", "{C70EF0C2-5E65-4798-8DA5-912B3E1C019D}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{48ECF899-3AB1-4906-B354-744978CC44F6}.Debug.ActiveCfg = Debug|.NET
		{48ECF899-3AB1-4906-B354-744978CC44F6}.Debug.Build.0 = Debug|.NET
		{48ECF899-3AB1-4906-B354-744978CC44F6}.Release.ActiveCfg = Release|.NET
		{48ECF899-3AB1-4906-B354-744978CC44F6}.Release.Build.0 = Release|.NET
		{C70EF0C2-5E65-4798-8DA5-912B3E1C019D}.Debug.ActiveCfg = Debug|.NET
		{C70EF0C2-5E65-4798-8DA5-912B3E1C019D}.Debug.Build.0 = Debug|.NET
		{C70EF0C2-5E65-4798-8DA5-912B3E1C019D}.Release.ActiveCfg = Release|.NET
		{C70EF0C2-5E65-4798-8DA5-912B3E1C019D}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United Kingdom United Kingdom
Self taught programmer of 6 years or so, started on the ZX Spectrum, through to the Amiga and then the PC. Enjoy coding for fun, most of my work is done in VB.NET, although have a background in many other langauges. Enjoy fiddling with Win32 and writing the odd small game here and there.

Currently studying a BSc(Hons) Software Engineering course at University.

Comments and Discussions