StandardFileDialog.InitialDirectory Property | |
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY InitialDirectory AS USUAL GET SET
public virtual Usual InitialDirectory { get; set; }
Request Example
View SourceProperty Value
Type:
UsualSet 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