Skiping labels when ctLefttoRight is set
Hi,
I made a very simple 2 column report with the detail band being 1 inch high.
I put one item in the detail band and in the BeforePrint of the Detail if
put
in a simple if that if the field matched a value (that happens to be the 3rd
item)
then detail.visible:=false else Detail.Visible:=true;
When I run the report is puts in a blank label for this one. When I do it
with the traversal mode not as ctLeftToRight it works. Am I assigning
at the right event? I am in 7.03
Thanks,
Joseph Gordon
I made a very simple 2 column report with the detail band being 1 inch high.
I put one item in the detail band and in the BeforePrint of the Detail if
put
in a simple if that if the field matched a value (that happens to be the 3rd
item)
then detail.visible:=false else Detail.Visible:=true;
When I run the report is puts in a blank label for this one. When I do it
with the traversal mode not as ctLeftToRight it works. Am I assigning
at the right event? I am in 7.03
Thanks,
Joseph Gordon
This discussion has been closed.
Comments
Instead of setting the entire detail band's visible property to False, try
placing a TppRegion in the band with an invisible border and its ParentWidth
and ParentHeight set to True and toggling its visibility. This should work
a little nicer for left to right traversal.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
That didn't really fix the problem. It is still leaving blanks in
the middle. This happens even on a very simple 2 column
report so I don't think its something I am doing. Is it suppose
to work?
Thanks,
Joseph Gordon
If possible, please send a small example demonstrating this behavior in .zip
format to support@digital-metaphors.com and I'll take a look at it for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com