The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_sevenseg
Class: TSevenSeg
Declaration: property Caption: string;

The property Caption contains the text to be displayed. The text may contain the following characters: '0'..'9', 'A'..'F', ' ', '-', '+', ':', '', '.', and ','. Any other character is displayed as a blank.

If the Caption property contains more characters than the available digits (property NumDigits), the excess characters are not displayed at all.

Hint 1: Please note that the decimal point or comma is displayed on the same place as the preceding digit, thus simulating "real" seven segment displays, where each individual digit not only contains the seven segments for displaying the digits but also a dot which is used as decimal point.

Hint 2: The characters '+', ':', and '' are not available in the Light Edition

Example: This property is used in the following example program (see for downloading the code): repspeedbut, sevenseg


Last Update: 2013-May-30