OpenFileDialog.setReadOnlyChecked

Overview | Methods | This Package | All Packages

OpenFileDialog.setReadOnlyChecked

Sets a boolean value indicating whether the Open as read-only check box is initially selected when the dialog box opens.

Syntax

public final void setReadOnlyChecked( boolean value )

Parameters

value

Set to true to specify that the Open as read-only check box be selected when the dialog box opens; set to false to specify that it be cleared. The default value is false.

Remarks

To display the Open as read-only check box in the dialog box, use the setShowReadOnly method.

See Also   getReadOnlyChecked