Home Component Writing

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.

Thanks

Comments

  • 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
    http://www.digital-metaphors.com
This discussion has been closed.