[lazarus] Debug class

Michael A. Hess mhess at miraclec.com
Tue Jul 6 17:15:23 EDT 1999


michael at tfdec1.fys.kuleuven.ac.be wrote:
> 
> > procedure TControl.DoDispatchStr(message : string)
> > begin
> >    DispatchStr(message);
> > end;
> 
> Once more, I don't think that this belongs in the TControl Class.
> It is gui dependent; so it must go in guiapi (or whatever you called
> it)
> 
> If I understood correctly, TControl is GUI independent; so it should
> not have the DoDispatchStr().

It still is GUI independent. I don't see how the above code ties it in
any way to the GUI be that GTK or Qt or whatever. Instead of calling
TControl.DispatchStr directly it just calls TControls.DoDispatchStr. I
can't see how that makes much of a difference. Am I missing something?

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list