Hi

I have just noticed some code that declares some procedures straight
under the class definition line.  For example:

Type
   TSomeClass = class(Tobject)
   
     Procedure AfterSomething(Sender: TObject)

 Private
  Somestring : String;

Public
  SomeOtherString : String.


Now I know that the Delphi designer puts all the text boxes, button
click events etc in this space on forms, but for a hand written class im
not sure why this has been done or what access it automaticity gets
assigned(private,public..)  Can anyone shed some light on this?  I am
inclined to just move those procedures into the private section as they
won't be used outside of the class. 

Thanks


Steve Ayers
Analyst Programmer




_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to