rbuser
Comments
-
Hi Deano,
use the orientation property from the context menu.
regards,
Chris Ueberall;
-
> I got it to work. I went and had made my own TppDesigner and changed it's
name
the
Yeah, I too found that changing the class name is a no-no :-)
Ed Dressel
Team DM
-
I got it to work. I went and had made my own TppDesigner and changed it's
class name. I them made my own TppDesignerWindow and changed it's class name
so I could make my changes without interfering with my coworker's use of the
compon… -
If you copy the ppDsgner unit from RB's source to your directory and run,
the data tab doesn't show up? Is 'daIDE' in your uses clause? (Otherwise it
works just fine here).
Ed Dressel
Team DM
-
I did that. I made my own TppDesigner and TppDesignerWindow. But the code
that puts the Data tab in the designer window by running
ppRegisterDesignModule() does so not to my window. If I change it to point
to my designer window it goe… -
Copy the unit with the code you want to change to your main project
directory and make then changes there.
HTH
--
Ed Dressel
Team DM
-
If you want to do it in the standard object event you could use the OnGetText
event of the TppLabel or TppDBText. Just modify the Text parameter that's
passed in the event.
Example:
procedure TForm1.ppDBText1GetText(S… -
The example was spot-on and one hour later I have most of my components
working.
Thanks!
-
It looks like I'll be able to do this really quick thanks to this example.
But I'm still curious about doing it in code using an event in case that
comes up for another case.
-Johnnie
-
Thanks - I'm going to download it right now.
Until I get the components done is there an easy way to modify the text
before printing in the existing DBText components during one of the events?
I was just going to select a group … -
One way would be to make a component that inherits from the TppDBText
component
(ppCtrls.pas) and simply override the GetTheText function to make it do
what you want to.
Example of registration for ReportBuilder components:… -
I've looked at the RCL Checkbox package project but don't know where to
start on doing my own much more simple component.
I just want to take the text that would be printed by ppDBText and modify it
right before printing. The c… -
Thanks, that did the trick.
-Jack
-
This is my register call:
ppRegisterComponent(TVarAwareRegion, 'Advanced Components', 10, 0,
'VarAwareRegion', HInstance);
I do not unRegister any other component, (do I have to).
-Jack
-
Thanks.
-
Hi Jack,
use the 'Text' property.
HTH,
Chris Ueberall;
-
Sorry to correct you, but our "TreeView for ReportBuilder" components are
*not* Freeware. They're free only for non-commercial use. Commercial use or
the need for source code requires purchasing the component for just US$ 30.
Be… -
The main component (a grid) descends from a TppCustomComponent. It creates some
DrawCommands. It's these draw commands that needs to be repainted. Invalidate
the "parent" (the grid) when the data scrolls.
Like I've said, when pr… -
Maybe it's me. Here is what I am doing.
{---------------------------------------------------------------------------
---}
{In ppRegion Code the declarations
}
{-----------------------------------------------------… -
What am I missing? I did what you said and I got incompatible types.
TppLabel.Region - is looking for a TppComponent and
myRegion - is a TComponent.
-
Now that I have this region I need to put 3 labels in the region.
So, in the circular region, I need 3 labels
---------------
! Label 1 !
! Label 2 !
! Label 3 !
---------------
The reason i… -
The region idea is a good one. Is there a way to change the shape of the
region from a square to a circle. It looks like in the code for
TppCustomRegion there is a procedure to change the shape, but I don't see
how you would do it.
Hi Jim,
Not sure how the Leading property works, but even when I set it to 0
(zero), The line spacing is too big. Is there a way to make it smaller?
Thanks
-Dominique
Thanks, Jim, But what should I do for the draw command, I put following code
in the overridden PropertiesToCommand mthod:
inherited PropertiesToDrawCommand(aDrawCommand);
{make sure the drawcommand is of the appropriate clas…As I read your post, I've noticed that you draw on the device canvas and
I wouldn't suggest that because I'm not sure that the text will be
exported if you use export devices to save the report as pdf or other
formats.
I…If you are generating an image you shouldn't have to bother about
handling the scaling. Normally ReportBuilder handles it by using the
drawcommands.
I would suggest you to take a look at the Paintbox component source
cod…Whitney,
Explain exactly what the problem is. Our company has been working with
Report Builder and Advantage for just over 2 years and have never
experienced this problem.
Using both Report Builder and Advantage you …Hi Whitney,
please provide more informations about your problem before cross-posting and complaining in several groups!
You can use ReportBuilder in conjunction with Advantage successfully. I have no problems.
e.g. you should us…Tks. I had finished It.
Jim,
I only have override the GetText for some other things. U use the Compute
method for my counting and i seems to offer more then once per record. What
am I doing wrong??
Jos Aikema