TfrxCrossView and alignment

edited 11:48AM in FastReport 4.0
Using the PrintTable demo as reference, I can see how to add data to the cross view object manually. Is it possible to also adjust the horizontal alignment of the columns manually?

E.g. if the default HAlign is haCenter, and I want to have columns 2 and 3 to align to the right, is it possible? If yes, how?

Thanks in advance.

Comments

  • edited 11:48AM
    Good question.

    I'm (and I'm not alone) having difficulty getting the alignment set. I'm adding data to the cross view at run time on the "ReportBeforePrint" event. Even with the Alignment of the cross view set to baCenter the grid draws to the left.

    I suspect that the width isn't calculated yet at the on before print.

    Any ideas guys?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.