WPCubed Product Support

How to capture a WPSpell's word change event

Hi,

Is there an event like (OnChange()) that registers the change to DBWPRichText post WpSpell word change?

The TDBWPRichText->Modified currently does not change state after a Spell Change(!?).

Thanks

WpTools 6.0
WPSpell 1.0
Borland C++ Builder 6.0

#1 ♥ 0
3.8k Views 1 users read 2 min

Hi

Based on previous e-mail and other postings I tried using WPRichText instead of DBWPRicText but I am still unable to detect a Change event when WpSpell replaces a word!?

Tried using the C++ Demo module provided by WPTools support for WPSpell and still unable to update the WPRicText->Modified from within OnChange event for the RichText object when WPSpell Changes a word. The OnChange event does not activate after WPSpell replaced a word!

The same RichText object register a OnChange event and the state for WPRichText->Modified changed to 'true' when I pasted in a string.

#2 ♥ 0

Hi

There seems to be a problem with the following property not changing state after a WPSpell word Change from within a MDIChild dialog. WPSpell detects and replace the word but does not change the state of the WPRichText Object

WPRichText1->Modified

I verified and the same property works Fine when the WPRichText dialog is Not part of the MDIChild ( sample WPSpell C++ code provided by WPCubed support)!

Is there an alternative to 'Modified' in case it is not available in a MDIChild?

Thanks

The WPSpell VCL was include as part of the MDI Parent.

#3 ♥ 0
This category is archived. No new posts are possible.