Docs: LCL/dialogs. Updates content in TOpenOption topics. Changes in 5a6e95d7, fd8c8885.

This commit is contained in:
dsiders 2025-04-18 02:08:24 -04:00
parent fd8c888583
commit 6161cd2261

View File

@ -1375,13 +1375,14 @@ For QT-based platforms, it indicates that the entire dialog model is read-only.
</element> </element>
<element name="TOpenOption.ofOverwritePrompt"> <element name="TOpenOption.ofOverwritePrompt">
<short> <short>
If selected file exists shows a message, that file will be overwritten. If the selected file exists, a message is displayed that the file will be
overwritten.
</short> </short>
</element> </element>
<element name="TOpenOption.ofHideReadOnly"> <element name="TOpenOption.ofHideReadOnly">
<short> <short>
For the Windows platform, it hides the Read Only check box on the dialog. Not For the Windows versions prior to Vista, it hides the Read Only check box on
used in other widgetsets. the dialog. Not used in other widgetsets.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoChangeDir"> <element name="TOpenOption.ofNoChangeDir">
@ -1415,8 +1416,8 @@ options prior to executing a dialog.
</element> </element>
<element name="TOpenOption.ofCreatePrompt"> <element name="TOpenOption.ofCreatePrompt">
<short> <short>
Enables a verification prompt when a file or directory needs to be created Windows only: Enables a verification prompt when a file or directory needs to
for a file dialog. be created for a file dialog.
</short> </short>
</element> </element>
<element name="TOpenOption.ofShareAware"> <element name="TOpenOption.ofShareAware">
@ -1438,47 +1439,54 @@ if the file or directory is read-only. See TOpenDialog.CheckFile.
</element> </element>
<element name="TOpenOption.ofNoTestFileCreate"> <element name="TOpenOption.ofNoTestFileCreate">
<short> <short>
Includes the OFN_NOTESTFILECREATE flag on the Windows platform. For the Windows platform, the OS does not check if the item specified in a
TSaveDialog can actually be created. Includes the OFN_NOTESTFILECREATE flag on
the Windows platform.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoNetworkButton"> <element name="TOpenOption.ofNoNetworkButton">
<short> <short>
Disables and hides the Network button on the Windows platform. Disables and hides the Network button on the Windows platform. Not used for
other platforms.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoLongNames"> <element name="TOpenOption.ofNoLongNames">
<short> <short>
Disables long file names on the Windows platform. Used in classic-style Disables long file names on the Windows platform. Used in classic-style
dialogs to force use of file names using the 8.3 format. Explorer-style dialogs to force use of file names using the 8.3 format. Explorer-style
dialogs ignore this flag and always display long file names. dialogs ignore this flag and always display long file names. Not used for
other platforms.
</short> </short>
</element> </element>
<element name="TOpenOption.ofOldStyleDialog"> <element name="TOpenOption.ofOldStyleDialog">
<short> <short>
Prevents use of the OFN_EXPLORER and dependent flags in dialogs on the Windows only: Shows the dialog in the Win9x style.
Windows platform. Also controls whether the Read Only check box is visible on
native dialogs.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoDereferenceLinks"> <element name="TOpenOption.ofNoDereferenceLinks">
<short> <short>
Do not resolve links while dialog is shown (only on Windows, see Windows only: When choosing a file shortcut (*.lnk), return the shortcut
OFN_NODEREFERENCELINKS). itself and not the target file.
</short> </short>
</element> </element>
<element name="TOpenOption.ofNoResolveLinks"> <element name="TOpenOption.ofNoResolveLinks">
<short>Do not resolve links after Execute.</short> <short>
Do not resolve links after Execute. This value is not explicitly used in any
of the widgetset implementations.
</short>
</element> </element>
<element name="TOpenOption.ofEnableIncludeNotify"> <element name="TOpenOption.ofEnableIncludeNotify">
<short> <short>
Not used in the current LCL version. Not used in the current LCL version. Defined for compatibility with Delphi.
</short> </short>
</element> </element>
<element name="TOpenOption.ofEnableSizing"> <element name="TOpenOption.ofEnableSizing">
<short>Dialog can be resized, e.g. via the mouse.</short> <short>Dialog can be resized, e.g. via the mouse.</short>
</element> </element>
<element name="TOpenOption.ofDontAddToRecent"> <element name="TOpenOption.ofDontAddToRecent">
<short>Do not add the path to the history list.</short> <short>
Windows only: Do not add the path to the history list.
</short>
</element> </element>
<element name="TOpenOption.ofForceShowHidden"> <element name="TOpenOption.ofForceShowHidden">
<short>Show hidden files.</short> <short>Show hidden files.</short>