Skip to main content

TdxCustomSpellChecker.OnCheckControlInContainer Event

Enables you to prohibit the contents of individual child controls from being spell checked in a container or optionally cancel the spell check.

Declaration

property OnCheckControlInContainer: TdxSpellCheckerCheckControlInContainerEvent read; write;

Remarks

A call to the CheckContainer method initiates checking of child control contents in a container passed as a method parameter. The OnCheckControlInContainer event is fired for each child control that is eligible for checking (refer to the method’s description to learn more).

Sender specifies the spell checker control.

AControl specifies the control whose content is about to be checked.

AAllow specifies whether checking is allowed. Pass False as AAllow to prohibit the AControl from being checked.

AContinue specifies whether checking continues, proceeding to the next eligible for checking child control. Pass False as AContinue to cancel the spell check after AControl has been checked.

If the spell check successfully completes, the Spelling Complete Dialog is shown.

See Also