JVCL Help:IdentToUnlitColor

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

Search in JVCL Help

 
Search in all projects
 

Summary

Translates an unlit color literal into a TUnlitColor value.

run\JvSegmentedLEDDisplay.pas


Pascal

 run\JvSegmentedLEDDisplay.pas
 functionIdentToUnlitColor(constIdent: string; varInt: Longint): Boolean;


Parameters

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

run\JvSegmentedLEDDisplay.pas


Description

IdentToUnlitColor translates an unlit color literal into a TUnlitColor. 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 string literal into the actual value.
If the string literal does not represent one of the two additional values, the IdentToColor 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