StandardFileDialog.InitialDirectory Property (Typed) | |
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.19
Syntax VIRTUAL PROPERTY InitialDirectory AS STRING GET SET
public virtual string InitialDirectory { get; set; }
Request Example
View SourceProperty Value
Type:
StringSet 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":
1METHOD MyOpen() CLASS StandardShellWindow
2LOCAL oOpenDialog AS OpenDialog
3oOpenDialog := OpenDialog{SELF}
4oOpenDialog:InitialDirectory := "C:\CAVO2x\SAMPLES"
5oOpenDialog:Show()
See Also