Startseite › Foren › Deutsches LiveCode-Forum › close stack funktioniert nicht › Antwort auf: close stack funktioniert nicht
Hallo, falls ich dich recht verstehe, möchtest du deine Anwendung schließen. In diesem Fall ist meiner Meinung laut Dictionary „quit“ die bessere Lösung.
Hier mal der Eintrag dazu aus dem Dictionary:
Use the quit command to exit LiveCode (or a standalone application). Once issued, the quit command triggers a shutdownRequest message. If the shutdownRequest message is not passed then the quit will be blocked (i.e. the program won’t close). If you want to check a condition or ask the user for confirmation before deciding whether to quit, use an if control structure: on getMeOuttaHere answer „Are you sure you want to quit?“ with „No way“ or „OK“ if it is „OK“ then quit end if end getMeOuttaHere To force a quit without sending a shutdownRequest message use: lock messages quit
Gruß
Georg
