By simply subclassing the EditBox control, and overriding the DefaultEditControl property it is possible to return a Keyoti.RapidSpell.AYTTextBox instead of a regular TextBox. Eg. (for VB.NET code see attached) using System; using System.Windows.Forms; namespace Keyoti.RapidSpell.JanusEditBox { /// <summary> /// Summary description for AYTEditBox. /// </summary> public class AYTEditBox : Janus.Windows.GridEX.EditControls.EditBox { protected override TextBox DefaultEditControl { get { return new Keyoti.RapidSpell.AYTTextBox(); } } } } This can then be used fairly easily. this.rapidSpellAsYouType1.TextComponent = (Keyoti.RapidSpell.AYTTextBox)this.editBox1.TextBox; The attached project demonstrates this in C# and VB.NET code. |