On Mon, Jan 26, 2015 at 7:12 AM, Werner Pamler <werner.pam...@freenet.de> wrote: > The declaration of TDrawEvent is part of the TChart declaration! As reported > in the German Lazarus forum > (http://www.lazarusforum.de/viewtopic.php?f=18&t=8474), an error "Unable to > show method..." is generated because of this construction: If I move the > TDrawEvent out of the TChart context everything works fine. > > I cannot reach Alexander S Klenin for clarification. But what could have > been his intention of doing it this way? (Or maybe it is just a typo?) Yes, it was, to lower the namespace pollution (and to play with a modern FPC feature along the way :-) ). If this event is moved out of TChart, it should probably be called "TChartDrawEvent" or similar.
-- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus