mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 09:39:37 +01:00
Docs: fix documentation for the new MessageDialog changes.
git-svn-id: trunk@37066 -
This commit is contained in:
parent
6999fe91fc
commit
61d8834f62
@ -2581,16 +2581,28 @@ eg [mbRetry, mbIgnore, mbAbort, mbCancel].<br/>
|
|||||||
|
|
||||||
expressed as an integer (see the constant definitions in <link id="Controls.TControl">TControl</link>
|
expressed as an integer (see the constant definitions in <link id="Controls.TControl">TControl</link>
|
||||||
|
|
||||||
, [mrNone..mrAll]).</descr>
|
, [mrNone..mrAll]). <br/>
|
||||||
|
If the user clicks the [X]-bordericon, the return value will be mrCancel. <br/>
|
||||||
|
If the user presses the escape key, the result depends on the widgetset: <br/>
|
||||||
|
- if the widgetset has implemented a native dialog, the result will be mrCancel. <br/>
|
||||||
|
- otherwise the result will be mrCancel, mrNo or mrOk (in that order) if mbCancel, mbNo or mbOk is present
|
||||||
|
(the dialog will not close (when the Escape key is pressed) if none of these buttons are present).
|
||||||
|
</descr>
|
||||||
<errors/>
|
<errors/>
|
||||||
<seealso/>
|
<seealso/>
|
||||||
<example file="dialogs/trymessagedlg.pas"/>
|
<example file="dialogs/trymessagedlg.pas"/>
|
||||||
</element>
|
</element>
|
||||||
<!-- function result Visibility: default -->
|
<!-- function result Visibility: default -->
|
||||||
<element name="MessageDlg.Result">
|
<element name="MessageDlg.Result">
|
||||||
<short>The result of this function is the button the user pressed to close the dialog.</short>
|
<short>The result of this function is either the button the user pressed to close the dialog, or mrCancel.</short>
|
||||||
<descr>The result of this function is the button the user pressed to close the dialog.<br/>
|
<descr>The result of this function is the button the user pressed to close the dialog.<br/>
|
||||||
This is expresed as an integer</descr>
|
This is expresed as an integer.<br/>
|
||||||
|
If the user clicks the [X]-bordericon, the return value will be mrCancel. <br/>
|
||||||
|
If the user presses the escape key, the result depends on the widgetset: <br/>
|
||||||
|
- if the widgetset has implemented a native dialog, the result will be mrCancel. <br/>
|
||||||
|
- otherwise the result will be mrCancel, mrNo or mrOk (in that order) if mbCancel, mbNo or mbOk is present
|
||||||
|
(the dialog will not close (when the Escape key is pressed) if none of these buttons are present).
|
||||||
|
</descr>
|
||||||
</element>
|
</element>
|
||||||
<!-- argument Visibility: default -->
|
<!-- argument Visibility: default -->
|
||||||
<element name="MessageDlg.aMsg">
|
<element name="MessageDlg.aMsg">
|
||||||
@ -2647,8 +2659,15 @@ The MessageDlgPos function does not enable you to choose the caption of the dial
|
|||||||
</element>
|
</element>
|
||||||
<!-- function result Visibility: default -->
|
<!-- function result Visibility: default -->
|
||||||
<element name="MessageDlgPos.Result">
|
<element name="MessageDlgPos.Result">
|
||||||
<short>The result of this function is the button the user pressed to close the dialog.</short>
|
<short>The result of this function is either the button the user pressed to close the dialog, or mrCancel.</short>
|
||||||
<descr>The result of this function is the button the user pressed to close the dialog.</descr>
|
<descr>The result of this function is the button the user pressed to close the dialog.<br/>
|
||||||
|
This is expresed as an integer.<br/>
|
||||||
|
If the user clicks the [X]-bordericon, the return value will be mrCancel. <br/>
|
||||||
|
If the user presses the escape key, the result depends on the widgetset: <br/>
|
||||||
|
- if the widgetset has implemented a native dialog, the result will be mrCancel. <br/>
|
||||||
|
- otherwise the result will be mrCancel, mrNo or mrOk (in that order) if mbCancel, mbNo or mbOk is present
|
||||||
|
(the dialog will not close (when the Escape key is pressed) if none of these buttons are present).
|
||||||
|
</descr>
|
||||||
</element>
|
</element>
|
||||||
<!-- argument Visibility: default -->
|
<!-- argument Visibility: default -->
|
||||||
<element name="MessageDlgPos.aMsg">
|
<element name="MessageDlgPos.aMsg">
|
||||||
@ -2697,8 +2716,15 @@ or you can make your own set.</descr>
|
|||||||
</element>
|
</element>
|
||||||
<!-- function result Visibility: default -->
|
<!-- function result Visibility: default -->
|
||||||
<element name="MessageDlgPosHelp.Result">
|
<element name="MessageDlgPosHelp.Result">
|
||||||
<short>The result of this function is the button the user pressed to close the dialog.</short>
|
<short>The result of this function is either the button the user pressed to close the dialog, or mrCancel.</short>
|
||||||
<descr>The result of this function is the button the user pressed to close the dialog.</descr>
|
<descr>The result of this function is the button the user pressed to close the dialog.<br/>
|
||||||
|
This is expresed as an integer.<br/>
|
||||||
|
If the user clicks the [X]-bordericon, the return value will be mrCancel. <br/>
|
||||||
|
If the user presses the escape key, the result depends on the widgetset: <br/>
|
||||||
|
- if the widgetset has implemented a native dialog, the result will be mrCancel. <br/>
|
||||||
|
- otherwise the result will be mrCancel, mrNo or mrOk (in that order) if mbCancel, mbNo or mbOk is present
|
||||||
|
(the dialog will not close (when the Escape key is pressed) if none of these buttons are present).
|
||||||
|
</descr>
|
||||||
</element>
|
</element>
|
||||||
<!-- argument Visibility: default -->
|
<!-- argument Visibility: default -->
|
||||||
<element name="MessageDlgPosHelp.aMsg">
|
<element name="MessageDlgPosHelp.aMsg">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user