Mattias Gaertner wrote:
> Yes, because you enabled 'verify method calls' -CR.
> Disabling this gives a class diagram under gtk2. 
> Looks promising.

Wow, I guessed it is some small thing and then I would feel stupid. :-)

Now I need to understand this. What does 'verify method calls' option do?
There was a typecast, not a method call.
Is it by design that this option creates RunError and other errors and crashes 
the program when there is a typecast, or is it a bug?
Doesn't look very useful option to me.

Anyway, this was not the original main problem with EssModel (fortunately 
because then I would feel very stupid). First it didn't draw anything. I 
changed the project settings later.
I still think the complex interface system was the problem for both Delphi2009 
and for FPC. EssModel used also delegated interfaced methods. There must have 
been some change in Delphi regarding interfaces.

The interfaces were used to make some kind of model-view system between the 
model and the visual controls showing it. I replaced interfaces with Listener 
classes. How do other Delphi / Lazarus programs do such things?

Mattias mentioned at forum a need for a class diagram component. What kind of 
component? Would it be integrated in Lazarus IDE?

A (more or less) working version can be found in my GitHub repo. Anybody is 
welcome to look at it.

Juha

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to