Home Component Writing

About Label component

edited October 2008 in Component Writing
Hi,
how can I increase the space between the characters in a TppLabel component
?
Thanks in advance for your help.

Cheers,
Davide

Comments

  • edited October 2008


    TppLabel does not support specifying character spacing.

    An example of a custom component can be located in Demos\RCL. The example
    code is heavily commented. Learning this code is the best place to start.

    The source code to the Label is located in ppCtrls.pas. You will also need
    to create a custom draw command, see ppDrawCmd.pas for the class
    TppDrawText. Here is some info on draw commands.

    http://www.digital-metaphors.com/rbWiki/RCL/Fundamentals/Draw_Command_Architecture


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.