Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

UltraRichTextEditor to support Tab space

Last post 07-15-2008 11:06 by [Infragistics] Matt Snyder. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-01-2008 5:25

    UltraRichTextEditor to support Tab space

    I am a .Net Programmer. I have used the UltraRichTextEditor in my porject.

    The problem is that UltraRichTextEdiotr component doesn't support Tab space when press the "Tab" Key from keyboard.

    I used your example that was installed in my local directory.

    How can I apply "Tab" to space character in my project. If you reply whether it is possible to suppot Tab spacing or not then

    I will be greatful to you.

     

    Thanking you,

    Surajit Kumar Sarkar.

    • Post Points: 20
  • 07-15-2008 11:06 In reply to

    Re: UltraRichTextEditor to support Tab space

    The UltraRichTextEditor is just a wrapper around the .NET RichTextBox, which supports the Tab character.  What's likely happening here is that your form is intercepting the Tab key since that is generally used for navigation between various controls.  What you could do is override the ProcessDialogKey method of your form and do something like:

     protected override bool ProcessDialogKey(Keys keyData)
    {
        if (this.richTextBox1.Focused)
            return false;

        return base.ProcessDialogKey(keyData);
    }

    -Matt

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems