Stretch-property depending on a condition, how ?
Hi,
I have a report with different groups. Within the detail band there is a
TppMemo Component (df_xx).
I try to make the Stretch-property depending on a condition as follows:
OnPrint:
if ppReport1.DataPipeline.GetFieldAsString('xx') = something then
df_xx.Stretch:=True else df_xx.Stretch:=False;
But I cannot see any change in the behaviour. It always remains at the
desingtime value.
What is wrong with my code ?
Thanx for help ...
Thomas
I have a report with different groups. Within the detail band there is a
TppMemo Component (df_xx).
I try to make the Stretch-property depending on a condition as follows:
OnPrint:
if ppReport1.DataPipeline.GetFieldAsString('xx') = something then
df_xx.Stretch:=True else df_xx.Stretch:=False;
But I cannot see any change in the behaviour. It always remains at the
desingtime value.
What is wrong with my code ?
Thanx for help ...
Thomas
This discussion has been closed.
Comments
event handler is a assigned (that it is firing at all.) If so, also make
sure that the first part of the if statement (df_xx.Stretch := True) is
being hit by placing a break point on it.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
yes, checked
yes, checked too
Thomas
"Alexander Kramnik (Digital Metaphors)" schrieb
is covered up by another component. If you have another component directly
following the memo, set it to shift relative to the stretching memo.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
assistance ...
Thomas
"Alexander Kramnik (Digital Metaphors)" schrieb