[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TSaveDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TSaveDialog - Dialog for saving the current buffer to a file

Declaration

Source position: dialogs.pp line 211

type TSaveDialog = class(TOpenDialog)

  class procedure WSRegisterClass; override;

  

WSRegisterClass - Register this Class for the current Widget Set

protected

  function DefaultTitle; override;

  

DefaultTitle - returns the default title for a dialog

public

  constructor Create(); override;

  

Create - constructor for TOpenDialog: calls inherited Create then loads default options

end;

Inheritance

TSaveDialog

  

TSaveDialog - Dialog for saving the current buffer to a file

|

TOpenDialog

  

TOpenDialog : open a file in the current directory, selected by File Dialog.

|

TFileDialog

  

TFileDialog : allows selection of a file from the current directory.

|

TCommonDialog

  

TCommonDialog : the base type from which other dialogs are derived

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

Description

Save Dialog: invoked when the application requires to save a file.
If the file is already open or a filename has been specified, then the current buffer is written to that file;
if no file is specified, the Save File As dialog is invoked and the buffer is saved to that file.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.