Customizing the TppDPTeeChart editor
Hi,
I'm using ReportBuilder pro 7.01 and TeeChart pro 5.02
(Delphi 5) and I am looking for a way to customize the
TppDPTeeChart editor (hiding some pages of the
PageControl and restricting some actions for instance)
when my end-users modify an existing report (runtime).
They find the runtime editor very confusing a far too
complex to use.
I can't find out. Any help here?
J?r?me
I'm using ReportBuilder pro 7.01 and TeeChart pro 5.02
(Delphi 5) and I am looking for a way to customize the
TppDPTeeChart editor (hiding some pages of the
PageControl and restricting some actions for instance)
when my end-users modify an existing report (runtime).
They find the runtime editor very confusing a far too
complex to use.
I can't find out. Any help here?
J?r?me
This discussion has been closed.
Comments
start is to build a new simple Delphi application that doesn't use RB.
Create a chart and editor in this application and modify the Teechart editor
at runtime. Get a simple case working first, then try porting that change
over to an RB application which uses the Teechart editor. If you have the
Teechart source version that will help, and you'll have to rely on their
documentation and newsgroups for support on how to do this with just a chart
editor outside of RB's environment.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
What I want to do is to have the possibility to
customize the TppDPTeeChart or TppTeeChart editor at
runtime (hiding some pages for instance).
As an owner of TeeChart pro 5.03, I can easily do that
if I use a TChart or TDbChart on a form by using the
TChartEditor component. This is quite trivial actually,
but I can't find out how to make exactly the same thing
with your wrappers (when the end-user right-clicks on a
TppTeeChart or TppDPTeeChart at runtime, in order to
invoke the chart editor, I would like to customize the
appearance of the editor).
Any suggestion? Thanks.
J?r?me
In article <3e6f4d69$1@dm500.>, "Jim Bennett \(Digital
create a demo if it is possible to do this.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
look like it is possible with our current implementation to use your
Teechart editor component on a form in conjuction with our Teechart wrapper.
We will look into this and see if our wrapper classes can be changed to
support this feature more easily. The place where you can look if you are
interested is in the installed RBuilder\Source\ppChrtUI.pas.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I am not necessarily looking for a solution based on the
"TeeChart runtime editor component" (TChartEditor), even
though it would be nice to link the TppDPTeeChart.Chart
or TppTeeChart.Chart properties to a TChartEditor
component.
This was merely an example of how I would like things to
work. My main concern is the customization of the
"TeeChart wrappers editors", but apparently I have to
conclude that it is not possible right now. It would
definitely be nice to have this possibility sometime.
The question is of course when ;-)
Thanks for your help Jim.
J?r?me
In article <3e6f7c15$1@dm500.>, "Jim Bennett \(Digital
aware and non-data aware chart UI classes). It is possible to create a
descendent of these classes and register them:
TppTeeChartUIPlugIn.Register(TmyTeeChartUI).
Then you can overide the Edit method in your TmyTeeChartUI class and make
the calls on the runtime Teechart editor object to perform the customization
operations on the tabs. This would rely on calls available on the runtime
editor, of which I haven't researched if it is possible to make on the
runtime editor yet.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
to override the edit method.
Would it be too much to ask for an example? That would
definitely help me a lot. Thanks for your help anyway.
In article <3e7096aa$1@dm500.>, "Jim Bennett \(Digital
TppTeeChartUI to TmyTeeChartUI. Then change the register calls at the bottom
of the unit to use your new class names. This will replace the standard
classes that we register with yours. Run it and place break points in the
Edit methods of your unit. This will make sure that by including the
myChrtUI in your project's use clause that you are using your new classes.
Now you can change the Edit routines in your myChrtUI class to perform the
new functionality on the runtime editor to see if it what you want can be
done.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com