FileDialog.setValidateNames

Overview | Methods | This Package | All Packages

FileDialog.setValidateNames

Sets a boolean value indicating whether the dialog box accepts only valid Win32 file names.

Syntax

public final void setValidateNames( boolean value )

Parameters

value

Set to true if you want the dialog box to check file names to make sure they are valid Win32 file names before returning them; returns false if you want the dialog box to return any file name specified in the File name box, whether it is valid or not. The default value is true.

Remarks

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

See Also   getValidateNames