Go Back   TX Text Control Community > TX Text Control Discussion and Support Forums > TX Text Control RapidSpell .NET

TX Text Control RapidSpell .NET Please use this forum for TX Text Control RapidSpell .NET support only. If you need support for a different product, please use the appropriate forum.

Reply
 
Thread Tools Display Modes
  #1  
Old December 21, 2009
rhavlick rhavlick is offline
Registered User
 
Join Date: Feb 2003
Posts: 8
Check As You Type Bad Words & Context Menus

Hello,

I'm using the latest RapidSpell and version of TX Text Control, and I've implemented the Rapid Spell As You Type component to check for misspelled words while the user works on the document. Also - when the user right clicks on the TX Text Control I have a 3rd party context menu I'm displaying for like bold, Italic, underline, etc. This is just to mimic some of the features of Word where the user can right click on a misspelled word and fix the spelling, but also right click on a non-misspelled word and change formatting. Right now I'm just handling the right click in the Mouse Down Event so the context menu always appears, and not the misspelled word context menu. Does anyone know how to check if I'm right clicking on a misspelled word versus anywhere else in the document?

Thanks.
Reply With Quote
  #2  
Old December 21, 2009
rhavlick rhavlick is offline
Registered User
 
Join Date: Feb 2003
Posts: 8
Re: Check As You Type Bad Words & Context Menus

Actually, I figured this out myself - if anyone is interested, set the ContextMenuStripDefault property on the TXTextControlAdapter. This will display the default context menu if the currently selected word isn't a misspelled word. Then if you right click on the word that is misspelled, then it will display the context menu with suggestions. The only problem is you have to use a Windows context menu control, not a 3rd party one. Maybe this would be a feature suggestion in the future to fire an event that the application could catch to handle it's own context menus.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell check as you type - example please? pritcham TX Text Control .NET 2 June 2, 2008 12:06:03
Style properties - Bug? Unregistered TX Text Control ActiveX 11 November 7, 2006 13:05:42
Check spelling as you type liosatha TX Text Control ActiveX 1 August 25, 2004 17:20:28
Adding Words with spell Check dgebhardt TX Text Control ActiveX 1 April 15, 2003 10:11:30


All times are GMT +1. The time now is 15:19:13.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 1991 - 2010 The Imaging Source Europe GmbH