How would I make a tab in a rich text box make an indention instead of moving to the next button?
If you think education is expensive, try ignorance.
Try this code, it sends spaces, but it should work Code: Private Sub RichTextBox1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 9 Then SendKeys " " KeyCode = 0 End If End Sub Hope this helps
Private Sub RichTextBox1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 9 Then SendKeys " " KeyCode = 0 End If End Sub
Negative 0 Blog | RegEx | Encrypting UN/PW in Web.Config | Enabling ASP.Net on IIS 6 | Port Numbers | Creating GUIDs | Start->Run | Modifying the default class
Perfect, thanks
Forum Rules