Skip to content

TTMSFNCWidgetLCDLabel

TTMSFNCWidgetLCDLabel

Introduction

TTMSFNCWidgetLCDLabel displays values via 7-segment LCDs with the possibility to add complex gradients and textures.

Features

  • Allows background fill, including gradient
  • 7-Segment LCDs
  • Can display Time too

Code Snippets

TTMSFNCWidgetLCDLabel1

Setting the value:

 TMSFNCWidgetLCDLabel1.Caption.Value := 419.15;

The following code customizes the look to the following:

TTMSFNCWidgetLCDLabel2

 TMSFNCWidgetLCDLabel2.Fill.Color := gcYellowgreen;
 TMSFNCWidgetLCDLabel2.Fill.ColorTo := gcPalegreen;
 TMSFNCWidgetLCDLabel2.Fill.Kind := gfkGradient;
 TMSFNCWidgetLCDLabel2.Caption.FillOff.Color := gcLightBlue;
 TMSFNCWidgetLCDLabel2.Caption.FillOff.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel2.Caption.Value := -20.45;

The following code customizes the look to the following:

TTMSFNCWidgetLCDLabel3

TMSFNCWidgetLCDLabel3.Fill.Color := gcDeepskyblue;
 TMSFNCWidgetLCDLabel3.Fill.ColorTo := gcLightBlue;
 TMSFNCWidgetLCDLabel3.Fill.Kind := gfkGradient;
 TMSFNCWidgetLCDLabel3.Caption.Fill.Color := gcRoyalblue;
 TMSFNCWidgetLCDLabel3.Caption.Fill.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel3.Caption.FillOff.Color := gcPowderblue;
 TMSFNCWidgetLCDLabel3.Caption.FillOff.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel3.Caption.Value := 987;

Setting the value

 TMSFNCWidgetLCDLabel1.Caption.Value := 419.15;

Customize the look

Here comes an image.

TMSFNCWidgetLCDLabel2.Fill.Color := gcYellowgreen;
 TMSFNCWidgetLCDLabel2.Fill.ColorTo := gcPalegreen;
 TMSFNCWidgetLCDLabel2.Fill.Kind := gfkGradient;
 TMSFNCWidgetLCDLabel2.Caption.FillOff.Color := gcLightBlue;
 TMSFNCWidgetLCDLabel2.Caption.FillOff.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel2.Caption.Value := -20.45;

The following code customizes the look to the following:

Here comes an image.

TMSFNCWidgetLCDLabel3.Fill.Color := gcDeepskyblue;
 TMSFNCWidgetLCDLabel3.Fill.ColorTo := gcLightBlue;
 TMSFNCWidgetLCDLabel3.Fill.Kind := gfkGradient;
 TMSFNCWidgetLCDLabel3.Caption.Fill.Color := gcRoyalblue;
 TMSFNCWidgetLCDLabel3.Caption.Fill.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel3.Caption.FillOff.Color := gcPowderblue;
 TMSFNCWidgetLCDLabel3.Caption.FillOff.Kind := gfkSolid;
 TMSFNCWidgetLCDLabel3.Caption.Value := 987;