Docs: LCL/dialogs. Updates content in the TOpenOption.ofNoReadOnlyReturn topic. Issue #41563. Depends on 9f23efb4.

This commit is contained in:
dsiders 2025-04-06 15:46:12 -04:00
parent 7ea532fc16
commit 5563082dfc

View File

@ -1426,13 +1426,14 @@ Includes the OFN_SHAREAWARE flag on the Windows platform.
</element> </element>
<element name="TOpenOption.ofNoReadOnlyReturn"> <element name="TOpenOption.ofNoReadOnlyReturn">
<short> <short>
For the Windows platform, it indicates the Read Only check box is not selected Indicates that a dialog cannot be used to choose a read-only file. For the
for the returned file, the file is writable, and is not in a write-protected <b>Windows</b> platform, TOpenDialog displays an error message if a read-only
directory. In TOpenDialog, an error message is displayed if the selected file file is selected - but it does not close dialog. TSaveDialog will always
does not meet the criteria when ofNoReadOnlyReturn is included in dialog display an error message if the user selects a read-only file - regardless of
options. See TOpenDialog.CheckFile. In TSaveDialog, it indicates that the state of this flag. For <b>other</b> platforms, TOpenDiaLog / TSaveDialog
read-only items cannot be returned by the dialog. This is the default value use the value to ensure that a file or directory selected with the dialog has
for a Save dialog. Not used for other widgetsets. write access permissions. A 'File is not writable' error message is displayed
if the file or directory is read-only. See TOpenDialog.CheckFile.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoTestFileCreate"> <element name="TOpenOption.ofNoTestFileCreate">