TfrxCrossView and alignment
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.
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
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?