Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Display suggestions of another text box - RapidSpell WPF - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
ManojPatel
#1 Posted : Thursday, October 30, 2014 10:50:10 PM
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

Jim
#2 Posted : Friday, October 31, 2014 12:57:44 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,639
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!


ManojPatel
#3 Posted : Friday, October 31, 2014 7:07:48 PM
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
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.