JVCL Help:UnlitColorToIdent

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

Search in JVCL Help

 
Search in all projects
 

Summary

Translates a TUnlitColor value into an unlit color literal.

run\JvSegmentedLEDDisplay.pas


Pascal

 run\JvSegmentedLEDDisplay.pas
 functionUnlitColorToIdent(Int: Longint; varIdent: string): Boolean;


Parameters

Parameters Description
Int: Longint Ordinal value of a TUnlitColor value.
var Ident: string String literal representing the color specified by Int

run\JvSegmentedLEDDisplay.pas


Description

UnlitColorToIdent translates a TUnlitColor value into an unlit color literal. Because TUnlitColor allows for two additional values which should be accessible from the Object Inspector this method is needed to perform the translation from the actual value into the string literal.
If the value does not correspond to one of the two additional values, the ColorToIdent function is called.

run\JvSegmentedLEDDisplay.pas


About

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