|
Rank: Member
Groups: Registered
Joined: 10/21/2014 Posts: 7
|
Hi,
I am using RapidSpellAsYouType control (Keyoti4.RapidSpell.WPF.dll ver 3.0.12.826) in my WPF application. The WPF form has several dynamic WPF textbox controls. I am adding multiple instances of textbox with method rapidSpell.AddTextComponent() on TextBox's Loaded event.
When I right click on incorrect word in one instance of textbox, it shows correct list of suggested words. When I right click on incorrect word in another textbox, it shows previous suggested list. I observed that the property RapidSpellAsYouType.CurrentTextBox holds previous textbox instance instead of current active textbox.
I am not able to reproduce this issue in sample application.
Can you please let me know how to resolve this issue?
Thanks Manoj
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Hi Manoj, does it only behave that way if you use the menu code I gave you in your previous post? In other words, does it work properly if you don't have a custom menu handler? Also, you might like to try a newer build https://www.dropbox.com/...14-402-Release.zip?dl=0
Best Jim -your feedback is helpful to other users, thank you!-your feedback is helpful to other users, thank you!
|
|
Rank: Member
Groups: Registered
Joined: 10/21/2014 Posts: 7
|
Thanks Jim. Your provided patch does not solve my problem. I have updated my code and now it works fine. Actually there are two instances of textbox, have issue with focus. When I removed following line from my user control, then it works fine. FocusManager.FocusedElement="{Binding ElementName=txtEditor}"
Thanks, Manoj Patel
|
|