Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Ein paar ganz einfach Fragen zur Delphi-Unit ...

  Alt 7. Jan 2004, 16:01
{$R *.dfm}
Bindet die dfm (Formular Dateien) als Ressource ein.

private und public ist in der Hilfe wunderschön erklärt.

Zitat von Hilfe:
A private member is invisible outside of the unit or program where its class is declared. In other words, a private method cannot be called from another module, and a private field or property cannot be read or written to from another module. [..]

A public member is visible wherever its class can be referenced.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat