Microsoft SDK for Java

OpenFileDialog Methods

Methods Description
getMultiselect Retrieves a boolean value indicating whether the dialog box allows multiple files to be selected.
getReadOnlyChecked Retrieves a boolean value indicating whether the Open as read-only check box is currently selected.
getShowReadOnly Retrieves a boolean value indicating whether the dialog box contains an Open as read-only check box that the user can select to open a file in read-only mode.
reset Resets all dialog box options to their default values.
setMultiselect Sets a boolean value indicating whether the dialog box allows multiple files to be selected.
setReadOnlyChecked Sets a boolean value indicating whether the Open as read-only check box is initially selected when the dialog box opens.
setShowReadOnly Sets a boolean value indicating whether the dialog box contains an Open as read-only check box that the user can select to open a file in read-only mode.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.