<si***************@yahoo.it> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I forgot to ask if anyone could provide me with one, sorry, I didnt
have my coffee this morning.
// at the top
using System.Runtime.InteropServices;
// after the class declaration
private const int EM_SETTABSTOPS = 0x00CB;
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern IntPtr SendMessage(IntPtr h, int msg, int wParam, int
[] lParam);
// in the Form_Load
int[] stops = {16};
SendMessage(this.textBox1.Handle, EM_SETTABSTOPS, 1, stops);