Click or drag to resize

StandardFileDialog Constructor (Typed)

X#
Construct a standard file dialog.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	 uOwner AS Window,
	 cInitPath AS STRING
)
Request Example View Source

Parameters

uOwner
Type: Window
The window object that owns the standard file dialog. If omitted, the dialog is not owned by any window.
cInitPath
Type: String
String representing the initial file or directory to display in the dialog. Use this, for example, to prompt the user with the current name of the file. You can also specify wildcards, such as '*.TXT'. The default is '*.*'.
Remarks
Tip Tip
If the :SetFilter( ) method is going to be used, cInitPath must be specified as "" because without this the filter will have no effect and the default of "*.*" will take effect so as to show all files.
See Also