Click or drag to resize

OpenDialog Constructor (Typed)

X#
Construct a standard "file open" dialog box.

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

Parameters

oOwnWnd
Type: Window
The window that owns the dialog box.
cInitPath
Type: String
The name of the file that is initially selected when the dialog is first shown (i.e., *.* or *.TXT). The default is *.*, which means all files and their extensions.
Remarks
Tip Tip
If the :SetFilter( ) method is going to be used, cFileName 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