FileDialog.setInitialDir

Overview | Methods | This Package | All Packages

FileDialog.setInitialDir

Sets the path for the directory whose contents are initially displayed in the dialog box.

Syntax

public final void setInitialDir( String value )

Parameters

value

The path of the initial directory for the dialog box. If you specify an empty string for the value parameter, the initial directory will be the current directory.

Remarks

See the OpenFileDialog control topic for a code example using this method.

See Also   getInitialDir