From a7f7799655c8bb0d9c2d5ca5355d46cd68e4f2ca Mon Sep 17 00:00:00 2001 From: vincents Date: Tue, 28 Apr 2009 11:13:27 +0000 Subject: [PATCH] lcl docs: updates for ModalResult from Graeme Geldenhuys git-svn-id: trunk@19664 - --- docs/xml/lcl/forms.xml | 15 +++++++++++++-- docs/xml/lcl/stdctrls.xml | 6 +++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index 3a17a99dff..260e6b6428 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -1959,8 +1959,19 @@ biHelp - When you click this button a Question Cursor appears and the help routi TModalResult - the range of values that can be returned as a modal result - - + + TModalResult 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. + + + + + + + + + + + diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index a6d0fead32..bfe1b6658a 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -7415,15 +7415,15 @@ is done automatically by the streaming system. - Is a Modal Result awaited? (default is false) - + Determines whether the button closes its modal parent form. + The default value is mrNone. Is this the Cancel button? (default setting is False) -

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.

+

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.