Click or drag to resize

StandardFileDialog Class

X#
Provide the base class from which all X# standard file-oriented dialog boxes are subclassed.
Inheritance Hierarchy
Object
  VObject
    StandardDialog
      StandardFileDialog
        OpenDialog
        SaveAsDialog

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS StandardFileDialog INHERIT StandardDialog
Request Example View Source

The StandardFileDialog type exposes the following members.

Constructors
  NameDescription
Public methodStandardFileDialog
Construct a standard file dialog.
Top
Properties
  NameDescription
Public propertyCode exampleCaption
Return or update the title displayed in the dialog window.
Public propertyDefExt
Return or update the default file extension displayed in the dialog window.
Public propertyDlgStyle
Public propertyCode exampleFileName
A string representing the name of the file which the user selected. If the user cancels, the file name is NULL_STRING.
Public propertyFilterIndex
A string representing the index of the effective filter.
Public propertyHideReadOnly
Public propertyCode exampleInitialDirectory
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.
Public propertyReadOnly
A logical value indicating that the file's read-only attribute is set.
Top
Methods
  NameDescription
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Overrides Destroy.)
Public methodDispatch
Intercept messages normally handled by the dialog box procedure in COMMDLG.DLL. Override this method to add your own custom processing.
Public methodhelp
Provide a means of displaying help when the HELP button is pressed. The HELP push button will be displayed if the SetStyle(OFN_SHOWHELP) message has been sent to the dialog object.
Public methodCode exampleSetFilter
Set single or multiple filters and descriptions for the standard dialogs. If multiple filters are specified, a filter index may also be specified.
Public methodCode exampleSetStyle
Set the style for the dialog window.
Public methodSetStyleEx
Set the Exstyle for the dialog window.
Public methodShow
Display a standard file dialog box. To retrieve the value that the user selected, use the StandardFileDialog:FileName property.
Top
Fields
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks

Important! StandardFileDialog is an abstract class and should not be used directly—instead, use one of its subclasses, which include OpenDialog and SaveAsDialog.
See Also

Reference