From cd71d115c1186e215ce609480fd604334c52d97f Mon Sep 17 00:00:00 2001 From: dsiders Date: Thu, 11 Nov 2021 18:41:16 +0000 Subject: [PATCH] Docs: LCL. Removes duplicated content and links to updated original. (cherry picked from commit f506e095e4b719679e5e5bad8b4f786ff6f0fc9c) --- docs/xml/lcl/dbctrls.xml | 18 ++---------------- docs/xml/lcl/stdctrls.xml | 36 ++++++++++++++++++++++++++++-------- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/docs/xml/lcl/dbctrls.xml b/docs/xml/lcl/dbctrls.xml index ad9d387521..243cc53217 100644 --- a/docs/xml/lcl/dbctrls.xml +++ b/docs/xml/lcl/dbctrls.xml @@ -1486,21 +1486,7 @@ - - -

Indicates how text is displayed in a text editing control in the following ways: -

-
    -
  • Normal case letters
  • -
  • Upper case letters
  • -
  • Lower case letters
  • -
-

The rules can be overridden by use of the Shift key.

-
- - TCustomEdit.CharCase - -
+ @@ -7675,7 +7661,7 @@ - + Default size for new instances of the class. diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index 6b2388470f..4b95cd9c7b 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -6204,16 +6204,36 @@ - Allows to force the text into all upper or lower case. + Controls the character case applied to values entered in the control. -

The following conversions can be specified:

-
    -
  • Unchanged
  • -
  • All upper case letters
  • -
  • All lower case letters
  • -
- Conversions apply to the entire text, and cannot be reverted. +

+ CharCase is a TEditCharCase property which indicates how values in Text are converted and displayed in the control. +

+
+
ecNormal
+
+ Normal letter case is applied; no conversion is applied. Use the Shift key to change the case for a character entered in the control. +
+
ecUpperCase
+
+ Values in Text are converted to uppercase letters. Shift key state is ignored. +
+
ecLowerCase
+
+ Values in Text are converted to lowercase letters. Shift key state is ignored. +
+
+

+ The default value for the property is ecNormal. Changing the value for the property causes the existing values in Text to be converted to the case indicated in the new property value. +

+ + Conversions apply to the entire value in Text, and cannot be reverted. +
+ + TControl.Text + +