Std CloseActiveWindow/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Emphasis|Vedere anche:}} Script di base per FreeCAD")
(Created page with "{{Docnav/it |Apri |Chiudi tutto |Menu File |IconL=Std_Open.svg |IconR= |IconC=Freecad.svg }}")
Line 50: Line 50:
To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].
To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].


{{Docnav
{{Docnav/it
|[[Std_Open|Std Open]]
|[[Std_Open/it|Apri]]
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_CloseAll/it|Chiudi tutto]]
|[[Std_File_Menu|File Menu]]
|[[Std_File_Menu/it|Menu File]]
|IconL=Std_Open.svg
|IconL=Std_Open.svg
|IconR=
|IconR=

Revision as of 21:00, 17 April 2020

Chiudi

Posizione nel menu
File → Chiudi
Ambiente
Tutti
Avvio veloce
Ctrl+F4
Introdotto nella versione
-
Vedere anche
Chiudi tutto

Descrizione

The Std CloseActiveWindow command closes the active document.

Utilizzo

  1. There are several ways to invoke the command:
    • Select the File → Close option from the menu.
    • Use the keyboard shortcut: Ctrl+F4.
  2. If the active document has not been saved a dialog box will prompt you to save it:
    • Press the Save button to save the document. If required enter a filename first.
    • Press the Discard button to discard the document and lose all changes.

Opzioni

  • If the active document has not been saved: press Esc or the Cancel button to abort the command.

Note

  • A document can also be closed by right-clicking it in the Tree view and selecting Close document from the context menu.

Preferenze

  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.

Script

Vedere anche: Script di base per FreeCAD

To close a document use the closeDocument method of the FreeCAD application. For a scripting example see Std New.