AGB  ·  Datenschutz  ·  Impressum  







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

Delphi window

Ein Thema von question · begonnen am 21. Apr 2013 · letzter Beitrag vom 25. Apr 2013
 
madtom

Registriert seit: 24. Feb 2005
Ort: Hamburg
115 Beiträge
 
Delphi XE7 Professional
 
#6

AW: Delphi window

  Alt 21. Apr 2013, 08:19
Hy,

- a function gives you a result value, if the work is done,
- a procedure doesn't give you anything back (similar to the "void" in C++).

You can do something with the result of the funtion, for instance ShowModal returns the "ModalResult". With the ModalResult you can see in which way the modal form was closed, may be by pressing the OK-Button (mrOK) or the Cancel-Button (mrCancel) (see help).
This values you can set in the Object Inspector for the Buttons of your modal form.
Thomas
Delphi Programming

Geändert von madtom (21. Apr 2013 um 08:26 Uhr)
  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 10:08 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