TRealTimeMarquee v3.5

Copyright © Kambiz R. Khojasteh. All rights reserved.
Get future component updates from http://www.delphiarea.com.

DESCRIPTION

The TRealTimeMarquee is a scrolling marquee control, and uses Windows multimedia timer for its timing needs. By this control, the marquee always runs smoothly even if your application is busy by doing some time consuming operations.

The TRealTimeMarquee control allows you to format scrolling text using a subset of HTML tags with link and image support (see supported HTML tags).

PROPERTIES

METHODS

EVENTS

Supported HTML Tags

The following HTML tags and attributes are supported:

Tag Description
FONT Specifies font of the content.
Attribute Description
FACE Specifies face name of the font.
SIZE Specifies size of the font (in points). This value can be absolute or relative. A plus (+) or minus (-) signe in front of size indicates a relative size.
COLOR Specifies forecolor of the font and can be Delphi color name (without cl prefix, for example Red), hex HTML color (for example #FF0000), or short notation of hex HTML color (for example #F00).
BGCOLOR Specifies background color of the font and can be Delphi color name (without cl prefix, for example Red), hex HTML color (for example #FF0000), or short notation of hex HTML color (for example #F00).
This attribute is not part of HTML standards.
B
STRONG
Renders content in bold text style.
I Renders content in italic text style.
U Renders content in underline text style.
S
STRIKE
Renders content in strike-through text style.
SUP Renders content in superscript text style.
SUB Renders content in subscript text style.
SMALL Renders content in small text style.
BIG Renders content in large text style.
A Makes the content as hyper link (see OnLink event).
Attribute Description
HREF Specifies address of the link.
IMG Embeds an image in to the content (see OnImage event).
Attribute Description
SRC Specifies location of the image.
WIDTH Specifies width of the image to override (in pixels).
HEIGHT Specifies height of the image to override (in pixels).
HSPACE Specifies horizontal padding of the image (in pixels).
VSPACE Specifies vertical padding of the image (in pixels).

In addition, each tag can have the DIR attribute with LTR or RTL value which respectively renders text in left-to-right and right-to-left direction. This is useful for mixing LTR and RTL text in one line. All other tags and attributes that are not mentioned above will be ignored.

You can use any numeric HTML entitiy (for example ↔) in text. Besides that, the following special character codes are recognized:

Character Code Description
    non-breaking space
© © copyright sign
® ® registered trademark sign
™ trademark sign
¹ ¹ superscript 1
² ² superscript 2 (squared)
³ ³ superscript 3 (cubed)
" " quotation mark
& & ampersand sign
< &lt; less than sign
> &gt; greater than sign
&ndash; en dash
&mdash; em dash
¯ &macr; macron, spacing macron
&lsquo; left single quote
&rsquo; right single quote, apostrophe
&ldquo; left double quote
&rdquo; right double quote
&bull; bullet
&dagger; dagger sign
&Dagger; double dagger sign
&prime; prime, minutes, feet
&Prime; double prime, seconds, inches
&lsaquo; single left pointing angle quote
&rsaquo; single right pointing angle quote
« &laquo; double left pointing angle quotes
» &raquo; double right pointing angle quotes
˜ &tilde; tilde sign
ˆ &circ; circumflex (or caret) sign
&spades; spades suit
&clubs; clubs suit
&hearts; hearts suit
&diams; diamonds suit
&loz; lozenge
&larr; left arrow
&rarr; right arrow
&uarr; up arrow
&darr; down arrow
&harr; left-right arrow
¬ &not; not sign
¼ &frac14; vulgar fraction one quarter
½ &frac12; vulgar fraction one half
¾ &frac34; vulgar fraction three quarters
± &plusmn; plus-minus sign
° &deg; degree sign
ª &ordf; feminine ordinal indicator
º &ordm; masculine ordinal indicator
¡ &iexcl; inverted exclamation mark
¿ &iquest; inverted question mark
&euro; euro sign
¢ &cent; cent sign
£ &pound; pound sign
¥ &yen; yen sign
¤ &curren; currency sign
§ &sect; section sign
&para; paragraph sign, pilcrow sign
· &middot; middle dot, georgian comma
µ &micro; micro sign
× &times; multipication sign
÷ &divide; division sign

Note: If the HTML parser detects an invalid HTML, it will not parse the rest of HTML.

HISTORY

LICENSE

The TRealTimeMarquee component is freeware. You may copy components' files AS LONG AS YOU COPY ALL OF THEM. If you want to change the source code in order to improve the component's features, performance, etc. please send me the new source code so that I can have a look at it. The changed source code should contain descriptions what you have changed, and of course your name. The only thing you MAY NOT CHANGE is the ORIGINAL COPYRIGHT INFORMATION.

DISCLAIMER

The TRealTimeMarquee component is provided "AS IS" without any warranty of any kind, either express or implied. The entire risk as to the quality and performance of the software is with you. The author is NOT liable for any DAMAGES resulting from the use and misuse of the components, especially he is NOT liable for DAMAGES that were caused BY ANY VERSION WHICH HAS NOT BEEN PROGRAMMED BY THE AUTHOR HIMSELF.


 END OF DOCUMENT