digitalmetaphors
Comments
-
There is a grid component from the BuilderControls download, which includes
the rotated label from CoolDev,
(http://www.digital-metaphors.com/rcl/bldctls.zip) b… -
Handled via support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
-
I assume you want to print an image of the same height and width over and
over again without having to resize it. You can place a subreport in the
pagestyle band. Don't connect it to a data pipeline. Then set
Subreport.Report.AutoSto… -
You can't modify any interface of any class or the enumerated types and use
RAP. You can change the implementation sections of classes and register
replacement forms and classes throughout ReportBuilder when you need custom
functiona… -
There is a virtual Compute method which is where the value is "computed."
You can override this method to provide your custom calculations.
Cheers,
Jim Bennett
Digital Metaphors
-
Don't change the ancestor. You should create two descendents instead.
UnRegister the default TppDBText and TppDBCalc classes, as shown in the
finalization call for thos components. Then you can register two new
descendents which have… -
It is going to be easier to descend from a component and extend it. You can
override the CreatePopupMenu method to add a menu option for the new
published property. Then you can launch a custom dialog in response to the
user clickin… -
The checkbox demo in the RBuilder\Demos\RCL directory shows how to create a
custom component and register it for use at both Delphi design time and at
runtime. Here is an example for a custom shape which has a custom dialog to
contro… -
Here is a full example of what Daniel is talking about:
http://www.digital-metaphors.com/tips/CustomDBTextComponent.zip
Cheers,<… -
It can be done. There is a grid component which has recently become
available from a a customer Daniel Lemire. Here is the link:
http://perso.b2b2c.ca/dlemire/
ReportBu… -
Sorry for the delay. The only thing I can think of is that you do not have
ppCTDsgn in your uses clause. Adding this adds crosstab support to the
designer at runtime. This would mean that the new region component shows up
inthe place … -
Hi Jack,
It should expand. Did you unregister a component? The register call contains
the position where the component should go in the toolbar. I also have a
region descendent to play with. What does you register call look lik… -
You can also reference the datapipeline to get the current record value as
an alternative to referencing a dbText.
lsText := Report.Datapipeline['aTextFieldName']
Cheers,
Jim Bennett
Digital Metaphors
… -
The datasource scrolls on a page and you want to redraw it, using the same
draw command, or a new draw command? Does the draw command change the data
that should print on the same page?
If you have a page in the preview and you … -
See the TppDBText.GetTheText method. That is where the DBText gets the data
from the pipe.
What is your class descending from?
Cheers,
Jim Bennett
Digital Metaphors
-
You can use the Band property of the dbText to get at the parent band. Then
you should be able to reference Band.Report.MainReport as the TppReport.
Cheers,
Jim Bennett
Digital Metaphors
-
We do not know of a rotated dbText component. You should be able to write
one by using the Win API calls that the freeware rotated label uses together
with a custom dbText descendent control. As far as alignment, we are not
aware of t… -
My initial tests indicate that adding a component which creates multiple
embedded components in the report designer can only work if the labels
cannot be freed from inside the region by the end user. The report designer
never expects … -
I was thinking your TmyRegion is a TppRegion descendent. I'll see if I can
build an example in which a region creates a label embedded in it.
Cheers,
Jim Bennett
Digital Metaphors
-
You need to set the band property of the labels to the band of the region.
In order to assign the labels to a region, you need to set the
TppLabel.Region := myRegion or Self in this case. That should do the trick.
Cheers,<… -
Here is an example. You are right, it does require one new protected
property to set the ShapeType of the TppRegion ancestor from a descendent.
I've included that change in ppRegion.pas. It won't allow you to use RAP in
this case beca… -
One way to try to model this is to create a region descendent that creates a
TppShape (circle) and three TppDBText components in its constructor. Then
you can move the region around and the four components in the region will
automatic… -
What do you want to do?
You can use the runtime interface on the TppDesigner and TppDesignerWindow
to manipulate the objects at runtime. You can get the TppDesignerWindow
object at runtime by calling TppDesignerWindow(ppDesigner… -
This is a multi-part message in MIME format.
-
The line spacing is set based on the font size. Each font has its own
internal leading. This isn't controllable from RB, as we just call
GetTextMatric for a font and add any leading that you want on top of this
value when spacing line… -
Set the DBMemo.Leading property in report units.
Please do not cross post.
--
Cheers,
Jim Bennett
Digital Metaphors
-
Sorry, my fault. You have to assign the page object of the draw command you
create which isn't passed in the parameter of this routine. For example, in
our source the page object is assigned after this routine is called in the
ancesto… -
ReportBuilder's architecture uses draw commands, much like a windows
metafile uses instructions to draw. The draw commands are instructions on
what to draw, not how to draw it. This allows for an open device
architecture, where each d… -
The scaling should be handled by the screendevice. See the ScaleVertices and
DrawText routines in ppViewr.pas. It should scale the size and then scale
the font height for you automatically for TppDrawTexts. You don't have a
TppDrawTex… -
You are already aware that you crossposted, so I'll repost my response here
in case you can't find it in the datapipelines newsgroup:
No, we are not aware of a solution at this time. You may be able to write
one, but it would be…