From 1bc44cbdf7cbadc5c93ea3cee605ad7f473c9c4b Mon Sep 17 00:00:00 2001 From: dsiders Date: Mon, 15 Jan 2024 23:57:01 +0000 Subject: [PATCH] Docs: LCL/maskedit. Updates TCustomMaskEdit topics for changes in b48d102c. * TCustomMaskEdit.EnableSets removes experimental designation. * TCustomMaskEdit.OnValidationError adds topic content and See Also links. (cherry picked from commit c9cb29b47a2dc5ebca3fdc2f8f893fd04b37ae1f) --- docs/xml/lcl/maskedit.xml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/xml/lcl/maskedit.xml b/docs/xml/lcl/maskedit.xml index b182ac1678..67306ea4f4 100644 --- a/docs/xml/lcl/maskedit.xml +++ b/docs/xml/lcl/maskedit.xml @@ -2618,9 +2618,9 @@ not valid. Raised with the message in SMaskEditNoMatch. Enables or disables use of set notation in the EditMask.

-EnableSets is an experimental Boolean property. It is -used when a new value assigned to the EditMask property is parsed to -reconstruct the internal mask characters and literals for the control. +EnableSets is a Boolean property used when a new value +assigned to the EditMask property is parsed to reconstruct the internal mask +characters and literals for the control.

When set to False, the '[' and ']' characters used in set notation are @@ -2653,10 +2653,22 @@ Event handler signalled when the value for the masked edit control is invalid.

OnValidationError is a TNotifyEvent property with the event handler signalled when the value for the masked edit control is invalid -for its EditMask. +for its EditMask. OnValidationError is signalled (when assigned) +from the ValidateEdit method and occurs when focus is removed from the control +and ValidationErrorMode is set mvemEvent. An application can implement and +assign a handler to perform actions needed to respond to an invalid value +entered in the control.

- + + + + + + + +TNotifyEvent +