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

Relocating lables dynamically

edited July 2002 in General
Hi, I am using the TRotatedLabel component. What I want to do is vertically
locate the label so that, no matter what the length of it's text, it allway
butts up againts the botton of the detail band or any distance above it I
would like.

The code I thought would work follows:

RotatedLabel1.Top := ppDetailBand4.height -
ppReport1.Printer.Canvas.TextWidth(RotatedLabel1.Text);

I do not know where to put this to have the desired effect. Any help?

TIA, D

Comments

This discussion has been closed.