Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on June 20, 2022, 06:36:19 am



Title: Ask Reuben 126 - Report Positioning
Post by: Reuben B. on June 20, 2022, 06:36:19 am
When it comes to placing report elements on a report, the easiest thing to do is to drag an element from the Tool Box or the Data View and drop it onto the Design View, and then use the mouse to drag and refine the position of the element until it is just so.
 
This results with the report element having X and Y properties set to a value, often characterised by having a number of decimal places.
 
When I see these X,Y values with numbers of decimal places, that is normally an indicator of what I would consider a poorly designed report.  This is a report that will not adapt to different font-sizes, different data values and will be costly to maintain.  A request in the future to move or change one report element will typically end up with multiple report elements having to be re-positioned.
 
A better approach is to position report elements relative to a parent and/or a sibling.  If the parent or sibling changes in some way then the report element will move to reflect that change.

Read more at https://4js.com/ask-reuben/ig-126/