JVCL Help:TJvCustomSegmentedLEDDisplay.DigitClass

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies which digit style to use.


Pascal

 propertyDigitClass: TJvSegmentedLEDDigitClass;


Description

DigitClass specifies which digit style to use. Read DigitClass to determine which class (and thus style) is used or set it to another class.
If no digit style is specified you can't add new digits to the display nor can you specify which character mapper to use. Changing DigitClass will recreate the same number of digits currently present (unless the new class is set to nil in which case any digits present are removed). If the active character mapper is not allowed for the new digit style it will be set to nil, otherwise the Text property will be remapped.


See Also

TJvCustomSegmentedLEDDisplay.CharacterMapper, TJvCustomSegmentedLEDDisplay.DigitClassName, TJvCustomSegmentedLEDDisplay.Text


About

Notes

The Object Inspector does not allow class references to be edited. To circumvent that problem an additional property, DigitClassName, has been added. DigitClassName is the property you should publish on any derivative, not DigitClass. The property editor for DigitClassName will fake the actual property name by removing the 'Name' part of the actual property name used.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page