Docs: fix documentation for the new MessageDialog changes.

git-svn-id: trunk@37066 -
This commit is contained in:
juha 2012-04-28 14:52:21 +00:00
parent 6999fe91fc
commit 61d8834f62

View File

@ -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>
, [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/>
<seealso/>
<example file="dialogs/trymessagedlg.pas"/>
</element>
<!-- function result Visibility: default -->
<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/>
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>
<!-- argument Visibility: default -->
<element name="MessageDlg.aMsg">
@ -2647,8 +2659,15 @@ The MessageDlgPos function does not enable you to choose the caption of the dial
</element>
<!-- function result Visibility: default -->
<element name="MessageDlgPos.Result">
<short>The result of this function is the button the user pressed to close the dialog.</short>
<descr>The result of this function is the button the user pressed to close the dialog.</descr>
<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/>
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>
<!-- argument Visibility: default -->
<element name="MessageDlgPos.aMsg">
@ -2697,8 +2716,15 @@ or you can make your own set.</descr>
</element>
<!-- function result Visibility: default -->
<element name="MessageDlgPosHelp.Result">
<short>The result of this function is the button the user pressed to close the dialog.</short>
<descr>The result of this function is the button the user pressed to close the dialog.</descr>
<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/>
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>
<!-- argument Visibility: default -->
<element name="MessageDlgPosHelp.aMsg">