Re: Drawing graphs iin Dolphin
Posted by
Peter Kenny-2 on
Jul 06, 2004; 4:28pm
URL: https://forum.world.st/Drawing-graphs-iin-Dolphin-tp3370875p3370890.html
<
[hidden email]> wrote in message
news:1RxGc.129373$
[hidden email]...
>
>
>
> Model = TPGraphingObject subclass of Model
> Presenter = TPBarGraphPresenter subclass of Presenter (this has
> stuff that would need to be refactored if the solution was more complete)
> View = TPGarGraph Subclass of View
Steve
Thanks for the hints - I am trying to follow what you suggest. At the moment
I can't generate my view class as a direct subclass of View - or rather I
don't know how to generate the view resource to go with it. I have tried
using various existing view resources as the starting point (e.g.
ImageView.Basic image, TextPresenter.Multiline text and my old favourite
Scribble), but they all finish up carrying all the methods of their original
view classes, even though I have put them at a different point in the
hierarchy. Obviously I am completely confused by MVP. Maybe I should take
your hint (that the results are not good enough to be worth the effort) and
try the ActiveX route.
Thanks
Peter Kenny