Builder controls and RB14.06
Hi,
Is BuilderControls still supported in rb14? SimpleGrid does not display.
Looking at the code, the draw() procedure expects either a
TppPrintDevice or TppScreenDevice, but it only gets TppGraphicsDevice.
Changing the "if" statement to also allow TppGraphicsDevice allow the
outline of the grid to show, but there are no grid lines.
The FColCount and FRowCount properties are correct on the
TDrawSimpleGrid right up until "FinishReport" is called, and then they
both revert to 1.
Can anyone shed any light on this?
Thanks,
Steve Branley
Is BuilderControls still supported in rb14? SimpleGrid does not display.
Looking at the code, the draw() procedure expects either a
TppPrintDevice or TppScreenDevice, but it only gets TppGraphicsDevice.
Changing the "if" statement to also allow TppGraphicsDevice allow the
outline of the grid to show, but there are no grid lines.
The FColCount and FRowCount properties are correct on the
TDrawSimpleGrid right up until "FinishReport" is called, and then they
both revert to 1.
Can anyone shed any light on this?
Thanks,
Steve Branley
This discussion has been closed.
Comments
the rendering issue, thanks for reporting this.
http://digital-metaphors.com/download/report_component_library.html
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
That works fine, but we had to make some changes to the dpk's that you
may want to be aware of:
The "requires" lines in both DPKs refer to the 1010 versions of the
files rather than the 1412 versions (this is in the zip file intended
for RB14 - looks like a copy/paste job).
The "contains" line in BuilderControlsPackage.dpk causes a "Unit name
mismatch" error when building the project as the ".pas" has been left on
the end of the left-hand unit name, i.e:
BuilderPDFRendererGrid.pas in 'BuilderPDFRendererGrid.pas'
should be:
BuilderPDFRendererGrid in 'BuilderPDFRendererGrid.pas'
With those changes it builds nicely and fixes the grid issue.
Thanks,
Steve
file on our server.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com