Autor Beitrag
bockwurst
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 191

win98 /XP
D1 D5 Prof DE2005PE
BeitragVerfasst: Fr 16.09.05 15:43 
Ich habe eine Frage,
wie gebe ich den Speicher eines Formular von TForm frei.
Es gibt zwei Möglichkeiten free und release. Ich habe die Hilfe gelesen, aber trotzdem macht es jeder verschieden.

Auf was muß ich achten?

Ach wenn die Frage vielleicht auf den ersten Blick trivial erscheint, bitte erst gründlich überlegen und dann antworten.

Vielen Dank schon im voraus.
rochus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416

Win XP Prof, Fedora Core 4, SuSE 7.0
D7 Ent, D2005 Pers
BeitragVerfasst: Fr 16.09.05 15:47 
FreeAndNil ;)

_________________
Im Nachhinein ist man immer ein Schlauch!
"Dream as if you'll live forever, live as if you'll die today!" James Dean
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Fr 16.09.05 17:25 
Du solltest imho die Form mit Release freigeben, da nur so garantiert erst alle Messages abgearbeitet werden.
FreeAndNil und Free sind da nicht so gut. Es kann nämlich mal ins Auge gegen. Steht übrigens alles in der OH.