Drawing lines
We need a report that will show parts (four lines drawn as a box) drawn on a
panel (another four lines).
In side of each part we need to center one line of text to describe the
part. Part count, sizes and positions vary greatly.
What would be the best way to draw these boxes.
TIA
Tom
panel (another four lines).
In side of each part we need to center one line of text to describe the
part. Part count, sizes and positions vary greatly.
What would be the best way to draw these boxes.
TIA
Tom
This discussion has been closed.
Comments
Try using a TppRegion and place the lines inside with their ParentWidth set
to True. If you set the TppRegion's Stretchable property to true, the lines
should stretch with the region.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Would I be creating the TppRegions at run time? The reports will all have
different sizes and quantities of parts so this does need to be done
dynamically at run time.
Tom
Yes, creating the regions at runtime is definitely an option. Follow the
link below to download an example of creating regions in code.
http://www.digital-metaphors.com/tips/CreateRegionInCode.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com