A string expression that indicates the label of the editor.
The Label property specifies the editor's label. Use the
Label property to change the editor's label. Use the LabelSize
property to specify the width of the label. Use the Value
property to specify the value of the editor. Use the Caption
property to retrieve the caption of the editor. Use the Add
method to specify the editor's label at adding time. Use the Image
property to assign an icon to an editor. Use the <img> tag to insert
icons inside the field's label. Use the Picture
property to assign a picture to an editor. Use the LabelForeColor
property to specify the label's foreground color. Use the LabelBackColor
property to specify the label's background color. Use the LabelAlignment
property to align the label.
The Label property may
include built-in HTML tags like follows:
<b> bold </b> bolds a part of the caption.
<u> underline </u> specifies that the portion should
appear as underlined.
<s> strikeout </s> specifies that the portion should
appear as strikeout.
<i> italic </i> specifies that the portion should
appear as italic.
<fgcolor=FF0000> fgcolor </fgcolor>
changes the foreground color for a portion.
<bgcolor=FF0000> bgcolor
</bgcolor> changes the background color for a portion.
<br> breaks a line.
<solidline> draws a solid line. If has no effect for a single line
caption.
<dotline> draws a dotted line. If has no effect for a single line
caption.
<upline> draws the line to the top of the text line
<r> aligns the rest of the text line to the right side. It has no
effect if the caption contains a single line.
<img>number[:width]</img> inserts an icon inside the cell's
caption. The number indicates the index of the icon being inserted. The
width is optional and indicates the width of the icon being inserted.
Using the width option you can overwrite multiple icons getting a nice
effect. By default, if the width field is missing, the width is 18 pixels.
<img>key[:width]</img> inserts a custom size picture being
loaded using the HTMLPicture
property. The Key parameter indicates the key of the picture being
displayed. The Width parameter indicates a custom size, if you require to
stretch the picture, else the original size of the picture is used.