Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Rounded Rectangle

edited June 2002 in General
Hi!

It seems to be a missing property on the TppShape. When you select Shape =
stRoundRect you cant set the radius of the roundness! How shall I do?

Peter

Comments

  • edited June 2002
    The way to do it is to set these two properties on the TppDrawShape draw
    command created for the rounded rectangle shape. Use the
    OnDrawCommandCreate event of the TppShape object to access the draw command
    which is created.

    property XCornerRound: Integer read FXCornerRound write FXCornerRound
    default 0;
    property YCornerRound: Integer read FYCornerRound write FYCornerRound
    default 0;


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.