For my second venture in Delphi I decided to convert another one of my Visual Basic uploads to Delphi. This one allows the user to use HTML style tags in a string to display the string in a RichEdit with colour and other formatting. The code as is accepts several colours as < colour >, formatting such as < b > for Bold, < u > for underline, and < i > for italics, along with the relevant closing tags. It also recognises < font face="blah" > and < font size="xx" > even when done as < font face = "blah" size = "xx" >. Please remember I am new to Delphi so there are probably better ways to have handled this method of formatting RichEdit.
File List:
Project1.cfg
386b
Project1.dof
1Kb
Project1.dpr
188b
Project1.res
1Kb
Unit1.dcu
9Kb
Unit1.ddp
51b
Unit1.dfm
2Kb
Unit1.pas
9Kb
Similar code
Base Converter
(Popularity: ) : This program was made to show you how to convert number bases easily and efficiently. The program supports binary, octal, ... Char Statistic / Count
(Popularity: ) : Just a sample how to calculate character in one text/paragraph. Usefull if you want to do a char count/statistic. Expression Evaluater Example
(Popularity: ) : This program was made to show how to evaluate an expression. The program supports ^,*,/,+,- and does order of operation. ... Encryption Component
(Popularity: ) : TO get the script for this not in component form, check out my string encryption upload and please rate*** This ...