Docs: LCL/lazdialogs. Removes extra spaces in topics. Updates tagging for True and False values.

This commit is contained in:
dsiders 2022-06-19 15:21:38 +01:00
parent b831a585c7
commit 2b8d9e1d18

View File

@ -266,7 +266,7 @@
<var>HandleCloseQuery</var> is a procedure used as the event handler for the <var>OnCloseQuery</var> event notification. It is assigned in the Initialize method.
</p>
<p>
HandleCloseQuery ensures that the Lazarus dialog form can in fact be closed, and updates the value in FileName when needed. It sets the value in the CanClose parameter to False when the modal result for the dialog form is mrCancel. No additional actions are performed in the method if the dialog form cannot be closed.
HandleCloseQuery ensures that the Lazarus dialog form can in fact be closed, and updates the value in FileName when needed. It sets the value in the CanClose parameter to <b>False</b> when the modal result for the dialog form is mrCancel. No additional actions are performed in the method if the dialog form cannot be closed.
</p>
<p>
Additional actions are performed in the method to update FileName and CanClose based on the TLazFileDialogKind value used in the dialog form. For Save dialogs (where Kind is ldkSaveDesktop or ldkSavePDA), the value in the SaveEdit control cannot contain be an empty string (<b>''</b>). No additional actions are performed in the method when SaveEdit is empty. Otherwise, the values from the selected item in ShellTreeView, PathDelimite, and SaveEdit are combined and assigned to FileName. CanClose is also set to True.
@ -406,7 +406,7 @@
</element>
<element name="TLazOpenDialog.DoExecute.Result">
<short>
True when the file open dialog was not cancelled during execution.
<b>True</b> when the file open dialog was not cancelled during execution.
</short>
</element>