Click or drag to resize

StandardFileDialog.InitialDirectory Property (Typed)

X#
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY InitialDirectory AS STRING GET SET 
Request Example View Source

Property Value

Type: String
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.
Examples
This example sets the initial directory to "C:\CAVO2x\SAMPLES":
X#
1METHOD MyOpen() CLASS StandardShellWindow
2LOCAL oOpenDialog AS OpenDialog
3oOpenDialog := OpenDialog{SELF}
4oOpenDialog:InitialDirectory := "C:\CAVO2x\SAMPLES"
5oOpenDialog:Show()
See Also