Std CloseActiveWindow: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 32: Line 32:
#* Select the {{MenuCommand|File → Close}} option from the menu.
#* Select the {{MenuCommand|File → Close}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|F4}}.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|F4}}.
# If the current document has not been saved a dialog box will prompt you to save it:
# If the active document has not been saved a dialog box will prompt you to save it:
#* Press the {{Button|Save}} button to save the document. If required enter a filename first.
#* Press the {{Button|Save}} button to save the document. If required enter a filename first.
#* Press the {{Button|Discard}} button to discard the document and lose all changes.
#* Press the {{Button|Discard}} button to discard the document and lose all changes.

Revision as of 08:12, 10 March 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Std CloseActiveWindow

Menu location
File → Close
Workbenches
All
Default shortcut
Ctrl+F4
Introduced in version
-
See also
Std CloseAllWindows

Description

The Std CloseActiveWindow command closes the active document.

Usage

  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.
    • Press the Cancel button to cancel the command.

Preferences

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