a Link Label component

TShadowLabel is a label component derived from TLabel. It's just a simple label component that draws a shadow behind the text. You may select the shadow color freely. If you disable the shadow the behaviour of the TShadowLabel component is the same as the TLabel component. This component is nothing special. It is one of my first steps in writing my own components. So if you have a look at the source code you may easily find something out about creating yout own custom components or change the behaviour of components to exactly meet you needs. You can see the TShadowLabel component below (one with a dark shadow color, one with a lighter shadow color and one with shadow disabled):


TShadowLabel:
TShadowLabel component in a Windows form





firstly, a TShadowLabel with shadow color clGray
secondly, a TShadowLabel with shadow color clSilver
and finally, a TShadowLabel with shadow disabled.

TShadowLabel   (4.854 bytes)

In comparison to a normal TLabel component TShadowLabel has two additional properties:


property name
default value
property meaning
ShadowColor
color
specifies the shadow color as a TColor value
ShadowEnabled
True
is true if the shadow is enabled, else ShadowEnabled is False

To learn more about writing and customizing components have a look at this topic:
- writing a simple link label
more topics to come ...


You can download the source code of the component and also the component resource file below:


Download info:
icon  Download the source code and the resource as a ZIP file:
        mirror 1 is server online  
        mirror 2 is server offline  
        mirror 3 is server online   download online     (file size: 2.28 kB, last modified: 21.09.2011)
icon  Download the source code and the resource as a RAR file:
        mirror 1 is server online  
        mirror 2 is server offline  
        mirror 3 is server online   download online     (file size: 1.98 kB, last modified: 21.09.2011)
icon  Download the source code below:
        mirror 1 is server online  
        mirror 2 is server offline  
        mirror 3 is server online   download online     (file size: 10.48 kB, last modified: 21.09.2011)
icon  Download the component resource file below:
        mirror 1 is server online  
        mirror 2 is server offline  
        mirror 3 is server online   download online     (file size: 1.34 kB, last modified: 21.09.2011)

last update: 2011-09-22 - 22:37:05.
copyright © by Klaus Burgstaller 2009