Position Shape Object on set positions on the page
Hi.
I need to place a red-dot at certain positions on the page. The number of dots and position are feed from a dataset. The data set holds top, left coordinates for the dots. For dots I have defined a shape object using the skEllipse shape inside a DetailData band tied to the dataset.
The problem right now is that each record from the dataset is printed on the next line as the dataset is traversed. Therefore, the dots keep shifting down instead of printing at the top, left positions that's assigned to the object from code.
Is there any way to avoid having the databand advance the object?
Thank you very much,
Reinaldo.
I need to place a red-dot at certain positions on the page. The number of dots and position are feed from a dataset. The data set holds top, left coordinates for the dots. For dots I have defined a shape object using the skEllipse shape inside a DetailData band tied to the dataset.
The problem right now is that each record from the dataset is printed on the next line as the dataset is traversed. Therefore, the dots keep shifting down instead of printing at the top, left positions that's assigned to the object from code.
Is there any way to avoid having the databand advance the object?
Thank you very much,
Reinaldo.
Comments
Hi.
Try setting the databand.height to 0.
Can be done by code in the databand's OnBeforePrint if you want to keep your dot visible in the designer at design time.
Petter