Difference between revisions of "LMD NG - MiniHTML"

From LMD
Jump to: navigation, search
(Supported subset of HTML tags)
 
(3 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
! Syntax
 
! Syntax
 
! Comments & samples
 
! Comments & samples
 +
|-
 +
| Body
 +
| <code>&lt;body bgcolor="clInfoBk" bgcolorto="clWhite" dir="v"&gt;</code>
 +
| Use body tag to set background color or gradient
 
|-
 
|-
 
| Bold
 
| Bold
Line 16: Line 20:
 
| Indetation
 
| Indetation
 
| <code> &lt;ind width="Width" [pos=abs]&gt;</code>
 
| <code> &lt;ind width="Width" [pos=abs]&gt;</code>
| Use this tag to make indentation with absolute or relative position. Sample &lt;ind width=100 pos=abs&gt;a1&lt;ind width=150 pos=abs&gt;a2&lt;ind width=200 pos=abs&gt;a3
+
| Use this tag to make indentation with absolute or relative position. Sample:<br><code>&lt;ind width=100 pos=abs&gt;a1&lt;ind width=150 pos=abs&gt;a2&lt;ind width=200 pos=abs&gt;a3</code>
 
|-
 
|-
 
| Italic
 
| Italic
Line 78: Line 82:
 
| The ''src'' parameter value is passed to the OnImageNeeded event handler. You can specify the width and height of the image rectangle if needed. By default the width and height are taken from the image you provide in event handler, but you can stretch image on drawing by specifying width and height explicitly.<br>
 
| The ''src'' parameter value is passed to the OnImageNeeded event handler. You can specify the width and height of the image rectangle if needed. By default the width and height are taken from the image you provide in event handler, but you can stretch image on drawing by specifying width and height explicitly.<br>
 
The simplest OnImageNeeded event handlers:<br><br>
 
The simplest OnImageNeeded event handlers:<br><br>
<pre class="brush:delphi">  
+
<syntaxhighlight lang="delphi">  
procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);<br>begin<br>&nbsp;&nbsp;Image.LoadFromFile(SourceName);<br>end;<br><br>procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);<br>begin<br>&nbsp;&nbsp;ImageList1.GetBitmap(strtoint(SourceName), Image.Bitmap);<br>end;<br></pre>
+
procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);
 +
begin
 +
    Image.LoadFromFile(SourceName);
 +
end;
 +
 
 +
procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);
 +
begin
 +
    ImageList1.GetBitmap(strtoint(SourceName), Image.Bitmap);
 +
end;
 +
</syntaxhighlight>
 +
 
 
Additional can be defined by using index/file/res identifier in image name:
 
Additional can be defined by using index/file/res identifier in image name:
 
* connected imagelist. Use syntax: <code><img src="index:0"></code>
 
* connected imagelist. Use syntax: <code><img src="index:0"></code>
Line 89: Line 103:
 
| &lt;~~myVariable&gt;
 
| &lt;~~myVariable&gt;
 
| The ''aVarName'', ''aVarValue'' parameters are passed to the OnVariableNeeded event handler, which defines what value substitutes the tag<br>
 
| The ''aVarName'', ''aVarValue'' parameters are passed to the OnVariableNeeded event handler, which defines what value substitutes the tag<br>
<pre class="brush:delphi">  
+
<syntaxhighlight lang="delphi">  
 
procedure TForm2.LMDHTMLLabel1VariableNeeded(Sender: TObject; const aVarName: TLMDString; var aVarValue: TLMDString);
 
procedure TForm2.LMDHTMLLabel1VariableNeeded(Sender: TObject; const aVarName: TLMDString; var aVarValue: TLMDString);
 
begin
 
begin
 
   aVarValue := '1111';
 
   aVarValue := '1111';
 
end;
 
end;
</pre>
+
</syntaxhighlight>
 
|-
 
|-
 
| Embedded controls
 
| Embedded controls
 
|&lt;control vclclass= width= height= name=&gt;
 
|&lt;control vclclass= width= height= name=&gt;
|Allows embedding of any control into HTML text  
+
|Allows embedding of any control into HTML text. Almost all public/published properties can be set via parameters. Example: <br><code><control vclclass="TEdit" width ="200" height="14" name="" text="edit control"></code>
 
|}
 
|}
 
{{Top}}
 
{{Top}}
Line 107: Line 121:
  
 
<table border=1 align=center>
 
<table border=1 align=center>
<tr><td bgcolor=silver>&amp;Aacute </td><td>&Aacute;</td>      <td bgcolor=silver>&amp;cent </td><td>&cent;</td>      <td bgcolor=silver>&amp;Iacute </td><td>&Iacute;</td>    <td bgcolor=silver>&amp;oacute </td><td>&oacute;</td>  <td bgcolor=silver>&amp;sup1 </td><td>&sup1;</td></tr>
+
<tr><td bgcolor=silver>&amp;Aacute </td><td>&Aacute;</td>      <td bgcolor=silver>&amp;cent   </td><td>&cent;</td>      <td bgcolor=silver>&amp;Iacute   </td><td>&Iacute;</td>    <td bgcolor=silver>&amp;oacute   </td><td>&oacute;</td>  <td bgcolor=silver>&amp;sup1   </td><td>&sup1;</td></tr>
<tr><td bgcolor=silver>&amp;aacute </td><td>&aacute;</td>      <td bgcolor=silver>&amp;copy </td><td>&copy;</td>      <td bgcolor=silver>&amp;iacute </td><td>&iacute;</td>    <td bgcolor=silver>&amp;Ocirc </td><td>&Ocirc;</td>    <td bgcolor=silver>&amp;sup2 </td><td>&sup2;</td></tr>   
+
<tr><td bgcolor=silver>&amp;aacute </td><td>&aacute;</td>      <td bgcolor=silver>&amp;copy   </td><td>&copy;</td>      <td bgcolor=silver>&amp;iacute   </td><td>&iacute;</td>    <td bgcolor=silver>&amp;Ocirc   </td><td>&Ocirc;</td>    <td bgcolor=silver>&amp;sup2   </td><td>&sup2;</td></tr>   
<tr><td bgcolor=silver>&amp;Acirc </td><td>&Acirc;</td>        <td bgcolor=silver>&amp;curren </td><td>&curren;</td>      <td bgcolor=silver>&amp;Icirc </td><td>&Icirc;</td>      <td bgcolor=silver>&amp;ocirc </td><td>&ocirc;</td>    <td bgcolor=silver>&amp;sup3 </td><td>&sup3;</td></tr>
+
<tr><td bgcolor=silver>&amp;Acirc   </td><td>&Acirc;</td>        <td bgcolor=silver>&amp;curren </td><td>&curren;</td>      <td bgcolor=silver>&amp;Icirc   </td><td>&Icirc;</td>      <td bgcolor=silver>&amp;ocirc   </td><td>&ocirc;</td>    <td bgcolor=silver>&amp;sup3   </td><td>&sup3;</td></tr>
<tr><td bgcolor=silver>&amp;acirc </td><td>&acirc;</td>        <td bgcolor=silver>&amp;deg </td><td>&deg;</td>        <td bgcolor=silver>&amp;icirc </td><td>&icirc;</td>      <td bgcolor=silver>&amp;Ograve </td><td>&Ograve;</td>  <td bgcolor=silver>&amp;szlig </td><td>&szlig;</td></tr>   
+
<tr><td bgcolor=silver>&amp;acirc   </td><td>&acirc;</td>        <td bgcolor=silver>&amp;deg   </td><td>&deg;</td>        <td bgcolor=silver>&amp;icirc   </td><td>&icirc;</td>      <td bgcolor=silver>&amp;Ograve   </td><td>&Ograve;</td>  <td bgcolor=silver>&amp;szlig </td><td>&szlig;</td></tr>   
<tr><td bgcolor=silver>&amp;acute </td><td>&acute;</td>        <td bgcolor=silver>&amp;divide </td><td>&divide;</td>      <td bgcolor=silver>&amp;iexcl </td><td>&iexcl;</td>      <td bgcolor=silver>&amp;ograve </td><td>&ograve;</td>  <td bgcolor=silver>&amp;THORN </td><td>&THORN;</td></tr>   
+
<tr><td bgcolor=silver>&amp;acute   </td><td>&acute;</td>        <td bgcolor=silver>&amp;divide </td><td>&divide;</td>      <td bgcolor=silver>&amp;iexcl   </td><td>&iexcl;</td>      <td bgcolor=silver>&amp;ograve   </td><td>&ograve;</td>  <td bgcolor=silver>&amp;THORN </td><td>&THORN;</td></tr>   
<tr><td bgcolor=silver>&amp;AElig </td><td>&AElig;</td>        <td bgcolor=silver>&amp;Eacute </td><td>&Eacute;</td>      <td bgcolor=silver>&amp;Igrave </td><td>&Igrave;</td>    <td bgcolor=silver>&amp;ordf </td><td>&ordf;</td>    <td bgcolor=silver>&amp;times </td><td>&times;</td></tr>   
+
<tr><td bgcolor=silver>&amp;AElig   </td><td>&AElig;</td>        <td bgcolor=silver>&amp;Eacute </td><td>&Eacute;</td>      <td bgcolor=silver>&amp;Igrave </td><td>&Igrave;</td>    <td bgcolor=silver>&amp;ordf </td><td>&ordf;</td>    <td bgcolor=silver>&amp;times </td><td>&times;</td></tr>   
<tr><td bgcolor=silver>&amp;aelig </td><td>&aelig;</td>        <td bgcolor=silver>&amp;eacute </td><td>&eacute;</td>      <td bgcolor=silver>&amp;igrave </td><td>&igrave;</td>    <td bgcolor=silver>&amp;ordm </td><td>&ordm;</td>    <td bgcolor=silver>&amp;trade </td><td>&trade;</td></tr>   
+
<tr><td bgcolor=silver>&amp;aelig   </td><td>&aelig;</td>        <td bgcolor=silver>&amp;eacute </td><td>&eacute;</td>      <td bgcolor=silver>&amp;igrave </td><td>&igrave;</td>    <td bgcolor=silver>&amp;ordm </td><td>&ordm;</td>    <td bgcolor=silver>&amp;trade </td><td>&trade;</td></tr>   
<tr><td bgcolor=silver>&amp;Agrave </td><td>&Agrave;</td>      <td bgcolor=silver>&amp;Ecirc </td><td>&Ecirc;</td>      <td bgcolor=silver>&amp;iquest </td><td>&iquest;</td>    <td bgcolor=silver>&amp;Oslash </td><td>&Oslash;</td>  <td bgcolor=silver>&amp;Uacute</td><td>&Uacute;</td></tr>  
+
<tr><td bgcolor=silver>&amp;Agrave </td><td>&Agrave;</td>      <td bgcolor=silver>&amp;Ecirc </td><td>&Ecirc;</td>      <td bgcolor=silver>&amp;iquest </td><td>&iquest;</td>    <td bgcolor=silver>&amp;Oslash   </td><td>&Oslash;</td>  <td bgcolor=silver>&amp;Uacute</td><td>&Uacute;</td></tr>  
<tr><td bgcolor=silver>&amp;agrave </td><td>&agrave;</td>      <td bgcolor=silver>&amp;ecirc </td><td>&ecirc;</td>      <td bgcolor=silver>&amp;Iuml </td><td>&Iuml;</td>      <td bgcolor=silver>&amp;oslash </td><td>&oslash;</td>  <td bgcolor=silver>&amp;uacute</td><td>&uacute;</td></tr>  
+
<tr><td bgcolor=silver>&amp;agrave </td><td>&agrave;</td>      <td bgcolor=silver>&amp;ecirc </td><td>&ecirc;</td>      <td bgcolor=silver>&amp;Iuml   </td><td>&Iuml;</td>      <td bgcolor=silver>&amp;oslash   </td><td>&oslash;</td>  <td bgcolor=silver>&amp;uacute</td><td>&uacute;</td></tr>  
<tr><td bgcolor=silver>&amp;amp </td><td>&amp;</td>          <td bgcolor=silver>&amp;Egrave </td><td>&Egrave;</td>    <td bgcolor=silver>&amp;iuml </td><td>&iuml;</td>      <td bgcolor=silver>&amp;Otilde </td><td>&Otilde;</td>  <td bgcolor=silver>&amp;Ucirc </td><td>&Ucirc;</td></tr>   
+
<tr><td bgcolor=silver>&amp;amp     </td><td>&amp;</td>          <td bgcolor=silver>&amp;Egrave </td><td>&Egrave;</td>    <td bgcolor=silver>&amp;iuml </td><td>&iuml;</td>      <td bgcolor=silver>&amp;Otilde   </td><td>&Otilde;</td>  <td bgcolor=silver>&amp;Ucirc </td><td>&Ucirc;</td></tr>   
<tr><td bgcolor=silver>&amp;Aring </td><td>&Aring;</td>        <td bgcolor=silver>&amp;egrave </td><td>&egrave;</td>      <td bgcolor=silver>&amp;laquo </td><td>&laquo;</td>      <td bgcolor=silver>&amp;otilde </td><td>&otilde;</td>  <td bgcolor=silver>&amp;Ugrave</td><td>&Ugrave;</td></tr>  
+
<tr><td bgcolor=silver>&amp;Aring   </td><td>&Aring;</td>        <td bgcolor=silver>&amp;egrave </td><td>&egrave;</td>      <td bgcolor=silver>&amp;laquo   </td><td>&laquo;</td>      <td bgcolor=silver>&amp;otilde   </td><td>&otilde;</td>  <td bgcolor=silver>&amp;Ugrave</td><td>&Ugrave;</td></tr>  
<tr><td bgcolor=silver>&amp;aring </td><td>&aring;</td>        <td bgcolor=silver>&amp;ETH </td><td>&ETH;</td>        <td bgcolor=silver>&amp;lt </td><td>&lt;</td>        <td bgcolor=silver>&amp;Ouml </td><td>&Ouml;</td>    <td bgcolor=silver>&amp;ugrave</td><td>&ugrave;</td></tr>  
+
<tr><td bgcolor=silver>&amp;aring   </td><td>&aring;</td>        <td bgcolor=silver>&amp;ETH   </td><td>&ETH;</td>        <td bgcolor=silver>&amp;lt       </td><td>&lt;</td>        <td bgcolor=silver>&amp;Ouml </td><td>&Ouml;</td>    <td bgcolor=silver>&amp;ugrave</td><td>&ugrave;</td></tr>  
<tr><td bgcolor=silver>&amp;Atilde </td><td>&Atilde;</td>      <td bgcolor=silver>&amp;eth </td><td>&eth;</td>        <td bgcolor=silver>&amp;macr </td><td>&macr;</td>      <td bgcolor=silver>&amp;ouml </td><td>&ouml;</td>    <td bgcolor=silver>&amp;uml </td><td>&uml;</td></tr>     
+
<tr><td bgcolor=silver>&amp;Atilde </td><td>&Atilde;</td>      <td bgcolor=silver>&amp;eth   </td><td>&eth;</td>        <td bgcolor=silver>&amp;macr </td><td>&macr;</td>      <td bgcolor=silver>&amp;ouml </td><td>&ouml;</td>    <td bgcolor=silver>&amp;uml   </td><td>&uml;</td></tr>     
<tr><td bgcolor=silver>&amp;atilde </td><td>&atilde;</td>      <td bgcolor=silver>&amp;Euml </td><td>&Euml;</td>      <td bgcolor=silver>&amp;micro </td><td>&micro;</td>      <td bgcolor=silver>&amp;para </td><td>&para;</td>    <td bgcolor=silver>&amp;Uuml </td><td>&Uuml;</td></tr>   
+
<tr><td bgcolor=silver>&amp;atilde </td><td>&atilde;</td>      <td bgcolor=silver>&amp;Euml   </td><td>&Euml;</td>      <td bgcolor=silver>&amp;micro   </td><td>&micro;</td>      <td bgcolor=silver>&amp;para </td><td>&para;</td>    <td bgcolor=silver>&amp;Uuml   </td><td>&Uuml;</td></tr>   
<tr><td bgcolor=silver>&amp;Auml </td><td>&Auml;</td>        <td bgcolor=silver>&amp;euml </td><td>&euml;</td>      <td bgcolor=silver>&amp;middot </td><td>&middot;</td>    <td bgcolor=silver>&amp;plusmn </td><td>&plusmn;</td>  <td bgcolor=silver>&amp;Yacute</td><td>&Yacute;</td></tr>  
+
<tr><td bgcolor=silver>&amp;Auml   </td><td>&Auml;</td>        <td bgcolor=silver>&amp;euml   </td><td>&euml;</td>      <td bgcolor=silver>&amp;middot   </td><td>&middot;</td>    <td bgcolor=silver>&amp;plusmn   </td><td>&plusmn;</td>  <td bgcolor=silver>&amp;Yacute</td><td>&Yacute;</td></tr>  
<tr><td bgcolor=silver>&amp;auml </td><td>&auml;</td>        <td bgcolor=silver>&amp;euro </td><td>&euro;</td>      <td bgcolor=silver>&amp;nbsp </td><td>&nbsp;</td>      <td bgcolor=silver>&amp;pound </td><td>&pound;</td>    <td bgcolor=silver>&amp;yen </td><td>&yen;</td></tr>     
+
<tr><td bgcolor=silver>&amp;auml   </td><td>&auml;</td>        <td bgcolor=silver>&amp;euro   </td><td>&euro;</td>      <td bgcolor=silver>&amp;nbsp </td><td>&nbsp;</td>      <td bgcolor=silver>&amp;pound   </td><td>&pound;</td>    <td bgcolor=silver>&amp;yen   </td><td>&yen;</td></tr>     
<tr><td bgcolor=silver>&amp;brvbar </td><td>&brvbar;</td>      <td bgcolor=silver>&amp;frac12 </td><td>&frac12;</td>    <td bgcolor=silver>&amp;not </td><td>&not;</td>        <td bgcolor=silver>&amp;quot </td><td>&quot;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
+
<tr><td bgcolor=silver>&amp;brvbar </td><td>&brvbar;</td>      <td bgcolor=silver>&amp;frac12 </td><td>&frac12;</td>    <td bgcolor=silver>&amp;not     </td><td>&not;</td>        <td bgcolor=silver>&amp;quot </td><td>&quot;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td bgcolor=silver>&amp;Ccedil </td><td>&Ccedil;</td>      <td bgcolor=silver>&amp;frac14 </td><td>&frac14;</td>    <td bgcolor=silver>&amp;Ntilde </td><td>&Ntilde;</td>    <td bgcolor=silver>&amp;raquo </td><td>&raquo;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
+
<tr><td bgcolor=silver>&amp;Ccedil </td><td>&Ccedil;</td>      <td bgcolor=silver>&amp;frac14 </td><td>&frac14;</td>    <td bgcolor=silver>&amp;Ntilde   </td><td>&Ntilde;</td>    <td bgcolor=silver>&amp;raquo   </td><td>&raquo;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td bgcolor=silver>&amp;ccedil </td><td>&ccedil;</td>      <td bgcolor=silver>&amp;frac34 </td><td>&frac34;</td>    <td bgcolor=silver>&amp;ntilde </td><td>&ntilde;</td>    <td bgcolor=silver>&amp;reg </td><td>&reg;</td>      <td>&nbsp;</td><td>&nbsp;</td></tr>
+
<tr><td bgcolor=silver>&amp;ccedil </td><td>&ccedil;</td>      <td bgcolor=silver>&amp;frac34 </td><td>&frac34;</td>    <td bgcolor=silver>&amp;ntilde   </td><td>&ntilde;</td>    <td bgcolor=silver>&amp;reg     </td><td>&reg;</td>      <td>&nbsp;</td><td>&nbsp;</td></tr>
<tr><td bgcolor=silver>&amp;cedil </td><td>&cedil;</td>        <td bgcolor=silver>&amp;gt </td><td>&gt;</td>        <td bgcolor=silver>&amp;Oacute </td><td>&Oacute;</td>    <td bgcolor=silver>&amp;sect </td><td>&sect;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
+
<tr><td bgcolor=silver>&amp;cedil   </td><td>&cedil;</td>        <td bgcolor=silver>&amp;gt </td><td>&gt;</td>        <td bgcolor=silver>&amp;Oacute   </td><td>&Oacute;</td>    <td bgcolor=silver>&amp;sect </td><td>&sect;</td>    <td>&nbsp;</td><td>&nbsp;</td></tr>
 
</table>
 
</table>
 
{{Top}}
 
{{Top}}

Latest revision as of 13:50, 18 August 2017

<< Back to Getting started or Product Resources page

[edit]

Supported subset of HTML tags

NG HTMLPack and certain controls of other NG Packs (e.g. DialogPack) integrate a Mini HTML engine which supports a subset of HTML tags. Following HTML tags can be used:

Tag Syntax Comments & samples
Body <body bgcolor="clInfoBk" bgcolorto="clWhite" dir="v"> Use body tag to set background color or gradient
Bold <b>, </b> bold
Indetation <ind width="Width" [pos=abs]> Use this tag to make indentation with absolute or relative position. Sample:
<ind width=100 pos=abs>a1<ind width=150 pos=abs>a2<ind width=200 pos=abs>a3
Italic <i>, </i> italic
Underline <u>, </u> underline
Strikeout <strikeout>, </strikeout> or <s>, </s> striked out
Paragraph <p [align="left|right|center"]> Use align parameter to specify the alignment of the text in the paragraph. Default value for align is "left".
Subscript <sub>, </sub> Subscript text is drawn with smaller font and with baseline moved down.
Superscript <sup>, </sup> Superscript text is drawn with smaller font and with baseline moved up.
Unordered list of elements <ul><li>item</li>...</ul>
  • item 1
  • item 2
Ordered list of elements <ol><li>item</li>...</ol>
  1. item 1
  2. item 2
Horizontal divider <hr [width="width"]> If no value for width attribute is specified, then it will take maximum available value.
Line break <br>  
Font <font [name="fontname"] [size="x|+x|-x|x px"] [color={"#rrggbb"|"color name"}] [bgcolor={"#rrggbb"|"color name"}]>text</font> You can specify the name of the font name, size (absolute size or increase, decrease of size)

and font background color. Color must be a valid hexadecimal value in common HTML format, valid VCL color identifier (clWhite, clBtnFace for example) or valid HTML color identifier (red, black, btnshadow for example. You can use background synonym for bgcolor attribute.
Note: If size value is greater than 0 and less than 10 and there is no plus or minus sign, then it means standard font increase relative to default size. Example:
<font name="Arial" size=2>
<font name="Arial" size=3>
<font name="Arial" size=4>
In order to specify exact font size in pixels, use size="N px" form of the size attribute.

Hyperlink <a href="link">link text</a> Link parameter value is passed to OnLinkClick event handler, present in some controls (not all controls support clicking on the URLs.
Embedded image <img src="image" [width="w"] [height="h"]> The src parameter value is passed to the OnImageNeeded event handler. You can specify the width and height of the image rectangle if needed. By default the width and height are taken from the image you provide in event handler, but you can stretch image on drawing by specifying width and height explicitly.

The simplest OnImageNeeded event handlers:

 
procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);
begin
    Image.LoadFromFile(SourceName);
end;

procedure TForm1.LMDHTMLLabel1ImageNeeded(Sender: TObject; SourceName: TLMDString; var Image: TPicture);
begin
    ImageList1.GetBitmap(strtoint(SourceName), Image.Bitmap);
end;

Additional can be defined by using index/file/res identifier in image name:

  • connected imagelist. Use syntax: <img src="index:0">
  • File: Use syntax: <img src="file:sample.png">
  • Ressource: Use syntax: <img src="res:MyImageName">
Variables <~~myVariable> The aVarName, aVarValue parameters are passed to the OnVariableNeeded event handler, which defines what value substitutes the tag
 
procedure TForm2.LMDHTMLLabel1VariableNeeded(Sender: TObject; const aVarName: TLMDString; var aVarValue: TLMDString);
begin
  aVarValue := '1111';
end;
Embedded controls <control vclclass= width= height= name=> Allows embedding of any control into HTML text. Almost all public/published properties can be set via parameters. Example:
<control vclclass="TEdit" width ="200" height="14" name="" text="edit control">

[Top]

Color Names

[Top]

Special symbols

&Aacute Á &cent ¢ &Iacute Í &oacute ó &sup1 ¹
&aacute á &copy © &iacute í &Ocirc Ô &sup2 ²
&Acirc  &curren ¤ &Icirc Î &ocirc ô &sup3 ³
&acirc â &deg ° &icirc î &Ograve Ò &szlig ß
&acute ´ &divide ÷ &iexcl ¡ &ograve ò &THORN Þ
&AElig Æ &Eacute É &Igrave Ì &ordf ª &times ×
&aelig æ &eacute é &igrave ì &ordm º &trade
&Agrave À &Ecirc Ê &iquest ¿ &Oslash Ø &UacuteÚ
&agrave à &ecirc ê &Iuml Ï &oslash ø &uacuteú
&amp & &Egrave È &iuml ï &Otilde Õ &Ucirc Û
&Aring Å &egrave è &laquo « &otilde õ &UgraveÙ
&aring å &ETH Ð &lt < &Ouml Ö &ugraveù
&Atilde à &eth ð &macr ¯ &ouml ö &uml ¨
&atilde ã &Euml Ë &micro µ &para &Uuml Ü
&Auml Ä &euml ë &middot · &plusmn ± &YacuteÝ
&auml ä &euro &nbsp   &pound £ &yen ¥
&brvbar ¦ &frac12 ½ &not ¬ &quot "   
&Ccedil Ç &frac14 ¼ &Ntilde Ñ &raquo »   
&ccedil ç &frac34 ¾ &ntilde ñ &reg ®   
&cedil ¸ &gt > &Oacute Ó &sect §   

[Top]