EqapLabel (version 1.0, 20.12.2006)

The EqapLabel is a part of EqapPackage and is a visual component designed to draw latin/cyrillic and greek symbols simultaneously.


1. Appearance

The EqapLabel is used to draw latin/cyrillic and greek symbols simultaneously within the same graphic area (Fig. 1).

Fig. 1. The example of EqapLabel using


2. Properties and events

The EqapLabel inherits properties and events of TLabel, and has own properties:

Properties

GreekSymbolEnd: string - the symbol which should be placed on the right (at the end) of a latin/cyrillic letter in order to make this letter as Greek symbol. If the parameter is more than 1 symbol, this is truncated to the single symbol. Default value is "}". See the note below.

GreekSymbolStart: string - the symbol which should be placed on the left (at the beginning) of a latin/cyrillic letter in order to make this letter as Greek symbol. If the parameter is more than 1 symbol, this is truncated to the single symbol. Default value is "{". See the note below.

Rule: string - the string with rule of using the component. Read-only.

Version: string - component version. Read-only.

Note: GreekSymbolStart and GreekSymbolEnd should be rarely used symbols which are not appearing in the "Caption" property of EqapLabel. GreekSymbolStart should differ from GreekSymbolEnd. The pair of GreekSymbolStart-GreekSymbolEnd should encircle only single symbol. This means that every symbol you wish to see as a Greek symbol, you should encircle with the GreekSymbolStart-GreekSymbolEnd pair. Also, remember that latin/cyrillic alphabet is not equivalent to Greek.


3. The example of using

The program code with an example of use of EqapLabel is downloadable here. This example illustrates the difference between standard TLabel and TEqapLabel.


All the software products are free for use. Any commercial using is not permitted without author's permission (o.lookin@iip.uran.ru).

 

Hosted by uCoz