Click or drag to resize

StandardFileDialog Class (Typed)

Provide the base class from which all X# standard file-oriented dialog boxes are subclassed.
Inheritance Hierarchy

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

The StandardFileDialog type exposes the following members.

Public methodStandardFileDialog
Construct a standard file dialog.
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.
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 methodHelpRequest
Public methodPostInit
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.
Globals and Defines
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)

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