nardmoseley
Comments
-
In general for any sizing, you have to use the Printer's device context.
Check out the ppCtrls.pas unit, the method TppCustomText.AdjustBounds uses
the Printer's device context to measure the size required for the text.
You need to compile a design-time package that will register your component
with the report designer. Then you install the package into the Delphi IDE.
For an exmple, please see RBuilder\Demos\RCL. In the example, dclRBU77.dpk<…
You cannot modify the 'interface' sections of any unit that is used by RAP
(the runtime Pascal environment).
You can/modify menu items by accessing the TppDesigner.Menu property or by
using the TppDesigner.MergeMenu featur…Perhaps try overriding the DSChanged method that is decle\ared in
TppPrintable.
A component will be pppcDesigning until its Band property is assigned and
the Report is attached to the designer.
--
Na…Check whether pppcDesigning in DesignState. You will find this throughout
the RB source code. This indicates that the component is being used inside
the report designer. Note that a report can also be previewed while the
component is …
In the Join table, the combination of TableName1, TableName2 is the pimary
key (i.e. unique).
Sorry, but the AutoJoin feature does not support what you are trying to
accomplish - you cannot define multiple join conditions …
First step is to try using the RB Query Designer without the autojoin
feature (or with DataDictionary.AllowManualJoins set to true.) to determine
whether it is possible to create the type of SQL query that you need.
If the…
The autojoin feture is not designed to enable self-joins.I think you can
only join the same table twice by performing a manual join.
--
Nard Moseley
Digital Metaphors Corporation
in my QueryDesigner, fill ppdatapipeline at runtime Comment by nardmoseley November 2003
Try setting DataDictionary.AllowManualJoins to true.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
The DrawCommand decendant classes are located in ppDrwCmd.pas. Each
TppComponent descendant has a DrawCommandClass associated with it.
A DrawCommand may implement rendering logic OR the rendering logic may be
implemented b…
RB 7.x contains modifications to ensure thread-safety. Eliminating the use
of ppParentWnd was necessary for thread-safety.
If you have a windowed control that you need to use, create a descendant
class that overrides the C…
Not sure whether this is possible, but you would use the same basic
approach.
1. Use the OnDrawCommandClick event to display an editor. Then assign the
text to the control.
2. I think you will need to call Viewe…
1. In the ReportDesigner, when you set the CheckBox.Checked property, the
check box should be redrawn.
2. To have a hot-clickable Checkbox in the Report Previewer, implement the
CheckBox.OnDrawCommandClick event-handler as…
Sorry, but this not currently supported.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
The FooterBand must always be static height. The height should be determined
prior to calling Report.Print.
For examples of dyanmically creating reports, see the Code Based thread of
the Tech Tips newsgroup.
To …
----------------------------------------------
Article: ReportBuilder's RichText architecture
----------------------------------------------
The RichText in ReportBuilder is a wrapper around Delphi's TRichEdit which<…For an example of a simple stretchable component see ppMem.pas, the TppMemo
class.
TppPrintable is the ancestor class for all of the report components.
PropertiesToDrawCommand is called by the TppPrintable.CreateDrawCommand
RB 7.03 is compiled to support TeeChart 6.
We currently have packages available for Delphi 7, RB 7.03, and TeeChart 7.
You might be able to adapt these packages for RB 7.03 for Delphi 6. You can
email support@digital-metap…
An invalid entry point error, indicates package incompatibility.
Try re-installing ReportBuilder 7.04 after installing TeeChart 7 so that the
installation can detect which version of TeeChart you are using. The other
alter…
The TppDesigner.Form property provide access to the designer window. The
designer window 'owns' the toolbars, so you they will be in the
Form.Components[] array. You can use Delphi's Form.FindComponent method to
retrieve them by…
Sorry, but there is currently no way to add/modify toolbars other than to
modify the source code. Most of the Toolbar code is located in ppIDE.pas.
There is a method in ppDsgner.pas called SetToolbarToSelection that updates
the …
Consider whether you want to have one global stylesheet for all reports, or
a stylesheet for each report.
1. Global Stylesheet
Make the StyleSheet a global singleton object that is accessible by simply
including…
For future reference, please post to the General newsgroup if you do not
know which newsgroup to post to. An appropriate newsgroup for data access
related questions is DataPipelines (if using external datapipelines) or DADE
(if …
1. An example of a custom component can be found in RBuilder\Demos\RCL. The
example is the Checkbox and DBCheckbox components. The code is commented.
2. The source to DBText is located in ppCtrls.pas. This unit contains most
I think the approach would be to use Viewer.OnMouseDown to get the x,y
coords. Then use Viewer.Scrollbox.VertScrollbar and HorzScrollbar to
position the scroll view.
You might take a look the Delphi Forms.pas unit - the so…
Not sure that I understand the question.
The Report.AutoSearchFields[] array and AutoSearchFieldCount property can be
used to iterate over the TppAutoSearchAutoSearchField objects.
When using the 'InList' operator, t…
Yes it is easy to convert. For an example see RBuilder\Demos\RCL.
You need to break out the designer related code into two separate classes -
a design control descendant and a popup menu descendant. See the
myChkboxDesign.…This is a multi-part message in MIME format.
Try overriding BoundsChange
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
That is not something that is built into the TppImage class. You would need
to create a descendant of TppImage and create a custom TppDrawCommand
descendant class.
---------------------------------------
Artic…