WordWrap doesn't seem to work
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com