AutoIndent (Auto Indent) in RichTextBox Control
Posted on 2000-03-25
I am making a small customized Editor in vb6 and am using a RichTextBox. Every thing is fine so far... but now i am stuck at a point where when the user presses enter key the cursor should move to then next line and automatically indent to the number of tabs pressed in the previous line... Just like VB's own IDE and Word etc.
i have looked at SelTabCount, SelTabs, SelIndent properties but am totally lost and have no iedea where to go from here onwards....
a quick response will be much appriciated.