ComponentOne Spell 8.0 for ActiveX
Suggestion Event (VSSpell)

Fired after a word has been added to the Suggestion property array.

Syntax

Private Sub VSSpell_Suggestion(Problem As Integer, Cancel As Integer)

Remarks

This event is fired only if the Suggest property is set to True and there are suggestions found for the bad word. The BadWord event is fired after the final Suggestion event is fired or after a Suggestion event sets the Cancel parameter to True.

The Problem parameter indicates the type of problem. Currently, the only problem supported by the Suggestion event is NOTINDICT (1).

Setting the Cancel parameter to True stops the suggestion generation process. The BadWord event is still fired following a cancelled Suggestion event.

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback