lcl docs: updates for ModalResult from Graeme Geldenhuys

git-svn-id: trunk@19664 -
This commit is contained in:
vincents 2009-04-28 11:13:27 +00:00
parent 10349bfc3d
commit a7f7799655
2 changed files with 16 additions and 5 deletions

View File

@ -1959,8 +1959,19 @@ biHelp - When you click this button a Question Cursor appears and the help routi
<element name="TModalResult">
<short>
<var>TModalResult</var> - the range of values that can be returned as a modal result</short>
<descr/>
<seealso/>
<descr>
<var>TModalResult</var> represents the value returned by a modal dialog. Even though the type is defined as an integer, instead a few standard constants are used as return results in applications.</descr>
<seealso>
<link id="controls.mrNone"/>
<link id="controls.mrOK"/>
<link id="controls.mrCancel"/>
<link id="controls.mrAbort"/>
<link id="controls.mrRetry"/>
<link id="controls.mrIgnore"/>
<link id="controls.mrYes"/>
<link id="controls.mrNo"/>
<link id="controls.mrAll"/>
</seealso>
</element>
<!-- pointer type Visibility: default -->
<element name="PModalResult">

View File

@ -7415,15 +7415,15 @@ is done automatically by the streaming system.
</element>
<!-- property Visibility: public -->
<element name="TCustomButton.ModalResult">
<short>Is a Modal Result awaited? (default is false)</short>
<descr/>
<short>Determines whether the button closes its modal parent form.</short>
<descr>The default value is <link id="controls.mrNone">mrNone</link>.</descr>
<seealso/>
</element>
<!-- property Visibility: public -->
<element name="TCustomButton.Cancel">
<short>Is this the Cancel button? (default setting is False)</short>
<descr>
<p>Setting this property to true, will have the effect that when the user hits ESC this button is Clicked, even if the button does not have focus. Usually the Button which reacts to ESC sets the ModalResult of the form to mrCancel.</p>
<p>Setting this property to true, will have the effect that when the user hits ESC this button is Clicked, even if the button does not have focus. Usually the Button which reacts to ESC sets the ModalResult of the form to <link id="controls.mrCancel">mrCancel</link>.</p>
</descr>
</element>
<!-- property Visibility: public -->