Help - Search - Members - Calendar
Full Version: Integration with FastReport (TfrcGrid way).
Fast Reports forum > Fast Reports Products > FastCube
headnail
Hi.

I have following problem:

I want to print contents of the fcGrid using this method

fcGrid (on form) -> frcGrid (on form) -> TfrcCrossView (on report page)

This all works kinda perfect (i really like that its uses sizes and alignment etc. etc. from fcGrid), but there is one problem.
I mean clBtnFace color (you know its gray in standard windows theme) while its look normal on form its looking not good on printed page.

I tried to use OnGetStyles event like you used in demo_olap sample but then i lose some other properties of original grid (row headers are always aligned to center, cell headers are always aligned to left).

I want to ask i there any way to do this without changing fcGrid style options before print (because this is kinda not elegant, and i can't use it in my case).

I think i would be generally good idea to add option to frcGrid to use other settings for colors from fcGrid (like you did with PaintSizes).

Greetings and great component(s) btw smile.gif
-=Oleg=-
Hi.

I fix frcCross.pas
Now alignment are imported from grid if You use OnGetStyles.
In future i plan to add property Styles: TfcGridStyles to TfrcGrid.

Oleg.
headnail
Ok.

Thank you for quick answer smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.