Std CloseActiveWindow: Difference between revisions

From FreeCAD Documentation
m (moved templates out of translation tags + Added {{StdMenu}})
(Revised. Added 'in progress' for now.)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>
{{Docnav
|[[Std_Open|Std Open]]
|[[Std_CloseAll|Std CloseAllWindows]]
|[[Std_File_Menu|Std File Menu]]
|IconL=Std_Open.svg
|IconR=
|IconC=Freecad.svg
}}


<!--T:2-->
<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Std Close
|Name=Std CloseActiveWindow
|MenuLocation=File → Close
|Empty=1
|MenuLocation={{StdMenu|[[Std File Menu|File]]}} → Close
|Workbenches=All
|Workbenches=All
|Shortcut={{KEY|Ctrl}}+{{KEY|W}}
|Shortcut={{KEY|Ctrl}}+{{KEY|F4}}
|SeeAlso=[[Std CloseAll|CloseAll]]
|SeeAlso=[[Std_CloseAll|Std CloseAllWindows]]
|Version=-
}}
}}



==Description== <!--T:3-->
==Description== <!--T:3-->

Closes the current document
The '''Std CloseActiveWindow''' command closes the current document.


==Usage== <!--T:6-->
==Usage== <!--T:6-->
# Invoke the Std Close command several ways:
#* Using the {{KEY|Ctrl}}+{{KEY|W}} keyboard shortcut
#* Using the {{MenuCommand|{{StdMenu|[[Std File Menu|File]]}} → Close}}


# There are several ways to invoke the command:
</translate>
#* Select the {{MenuCommand|File → Close}} option from the menu.
{{clear}}
#* 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:
#* 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|Cancel}} button to cancel the command.


==Preferences==
{{Std Base navi{{#translation:}}}}


* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.

{{Docnav
|[[Std_Close|Std CloseActiveWindow]]
|[[Std_Save|Std Save]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconR=Std_Save.svg
|IconC=Freecad.svg
}}

</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 13:42, 9 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 current 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 current 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.