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

WordWrap doesn't seem to work

edited April 2007 in General
I'm using Delphi 7 and RB 9.02.

I'm populating a Variable control via its OnCalc event. In this event I
concatenate several fields so that a user name and employment number are
formed. This text can end up being quite long so I set the controls WordWrap
property to true. I had hoped that this long text would wrap in the control
and that the control would expand downwards to show the text. As this
doesn't happen can anyone give me some help on what I can do to produce this
desired functionality ?

Ian Munro

Comments

  • edited April 2007
    Hi Ian,

    TppVariables are not dynamic height sizing (stretching) components. You
    will need to either manually increase the height of the variable component
    or use a stretchable component such as a TppMemo or TppRichText in its
    place.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2007
    I am now using a memo control and that works fine. Thanks for your help.

This discussion has been closed.