This is a migrated thread and some comments may be shown as answers.

Document Tab stops

3 Answers 80 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Nick Anderson
Top achievements
Rank 1
Nick Anderson asked on 22 Jul 2011, 05:55 PM
When you have no text in your RichTextBox  and you hit the 'tab' key, it looks like it jumps from Tab position to Tab position withinin the textbox.

When you have text and you hit 'tab' key after you type a character, then it looks like it just adds a few spaces. Why does it not jump to the next Tab position?

Is there a setting to change this behavior?

My users would like to be able to line up text(of variable font sizes) across different lines based on these tab postions.

3 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 25 Jul 2011, 12:06 PM
Hi Nick Anderson,

RadRichTextBox does not use Tab-stops. Rather, when you press Tab, the control either inserts a tab-symbol or changes the paragraph indent with a predefined value (DocumentDefaultSettings.INDENT_STEP) with default value of 28 dip. 
We have tab-stops on our to-do list, but they have not been scheduled yet. You can track our progress on this item using PITS:
PITS Issue ID: 7091
Public Url: http://www.telerik.com/support/pits.aspx#/public/silverlight/7091

All the best,
Iva
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Charles
Top achievements
Rank 1
answered on 21 Mar 2012, 10:39 AM
I've just searched for tab stops and come across this thread.  I've checked the PITS link, and it says "resolved" - I can set tab stops in the latest version, but the behaviour when pressing tab is unchanged from what was described in this thread.  I'm guessing it's not implemented yet.

Any info on what "resolved" means would be useful!            
0
Iva Toteva
Telerik team
answered on 26 Mar 2012, 09:03 AM
Hello Charlie,

The PITS issue is about implementing tab stops. The issue has been resolved because the feature itself has been completed. For example, if you are not at the beginning of a paragraph, pressing tab would move the caret to the next tab stop.
The only case where the behavior in RadRichTextBox is different than that in Word is when the caret is at the beginning of an empty paragraph. We have logged the issue for revision, but it has not been scheduled yet.

I hope this answers your question.

Kind regards,
Iva Toteva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RichTextBox
Asked by
Nick Anderson
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Charles
Top achievements
Rank 1
Share this question
or