Home Component Writing
New Blog Post: Email: Multi-Service

Checkbox with label

edited November 2012 in Component Writing
Can you think of a way (or a good starting point) to have a new
component that will combine the checkbox and a label.



  • edited November 2012
    Hi Jeff,

    Take a look at the RCL demo (Checkbox). This gives you a good starting
    point for creating a custom component. From there, the rest is up to
    you. Currently the CheckBox uses a DrawTextCommand to render the
    object. To add readable text, you may need to create and register your
    own DrawCommand that has the capability to render the checkbox
    (Wingdings font) and a caption (readable font) in the same component.
    The TppDrawRichText or TppDrawBarcode drawcommands are good examples of
    adding stand-alone drawcommands to RB.

    Best Regards,

    Nico Cizik
    Digital Metaphors
This discussion has been closed.