AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Formular aufrufen (welche Methode ist besser)

Ein Thema von Ralf1967 · begonnen am 13. Feb 2006 · letzter Beitrag vom 13. Feb 2006
 
Benutzerbild von dahead
dahead

Registriert seit: 16. Mai 2005
620 Beiträge
 
#3

Re: Formular aufrufen (welche Methode ist besser)

  Alt 13. Feb 2006, 10:04
Da du Delphi hast, hast du doch sicherlich auch die dazugehörige Hilfe, oder?

Wenn ich meine aufrufe steht bei Destroy folgendes:
Zitat:
Removes the form from memory. ... Do not call Destroy. Instead, call Release, which indirectly produces a call to the Free method, which in turn calls Destroy.
Bei Release das hier:
Zitat:
Use Release to destroy the form and free its associated memory. Release does not destroy the form until all event handlers of the form and event handlers of components on the form have finished executing. Release also guarantees that all messages in the form's event queue are processed before the form is released. Any event handlers for the form or its children should use Release instead of Free (Delphi) or delete (C++). Failing to do so can cause a memory access error. Note: Release returns immediately to the caller. It does not wait for the form to be freed before returning.
Übrigens gibst du einmal Self beim Erstellen der Instanz an, und einmal Application als Owner.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz