From cd6a0ddcc6956220df6b3928e859144570f5e579 Mon Sep 17 00:00:00 2001 From: dsiders Date: Thu, 7 Mar 2024 20:44:53 +0000 Subject: [PATCH] Docs: LCL/maskedit. Adds aand updates topics for changes in 0cbb6646, a09b37af. * Adds EnableSets argument to the FormatMaskText topic. * Changes topic order to match declaration order, visibility. (cherry picked from commit 51a6c3d25cbf37e9c532bae6d1e2dff568052665) --- docs/xml/lcl/maskedit.xml | 60 +++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/docs/xml/lcl/maskedit.xml b/docs/xml/lcl/maskedit.xml index 67306ea4f4..22a7fd8a33 100644 --- a/docs/xml/lcl/maskedit.xml +++ b/docs/xml/lcl/maskedit.xml @@ -2825,6 +2825,29 @@ Use the IsVisible method to consider this and get the effective visibility. + + + +Contains the value for the control. + +

+Text is a public String property in +TMaskEdit which provides access to the value for the edit control. +

+
+ +TCustomEdit.Text +TControl.Text + + + + + +
+ + + + @@ -2903,28 +2926,6 @@ pressed key may become released during the time the control has focus. - - - -Contains the value for the control. - -

-Text is a public String property in -TMaskEdit which provides access to the value for the edit control. -

-
- -TCustomEdit.Text -TControl.Text - - - - - -
- - - Applies an edit mask to the specified string value. @@ -2947,12 +2948,22 @@ represented using the character in the mask field to the Space character (decimal 32).

+The EnableSets argument indicates whether set notation, indicated +with '[' and ']' characters, are recognized in the edit mask. The value is +assigned to the EnableSets property in TMaskEdit/TCustomMaskEdit. When set to +False, the '[' and ']' characters used in set notation are treated as +literal characters. When set to True, the optional or required set +definition is added to the mask. The default value for the property is +False. +

+

When IsMasked is False, the unmodified content in Value is used as the return value.

+ @@ -2967,6 +2978,11 @@ used as the return value. Original content modified in the routine. + + +True to enable set notation when present in the edit mask. + +