Sorry about that, this should not be done in lost focus. Yes I have done in
text changed it has worked, just checked out and it worked
VJ
"VJ" <no***********@yahoo.comwrote in message
news:ed**************@TK2MSFTNGP02.phx.gbl...
Michael.. I have done the below in text changed as well as lost foucs,
never had any issues. Is there a sample code you can give that has the
problem?
"Michael A. Covington" <lo**@ai.uga.edu.for.addresswrote in message
news:u8**************@TK2MSFTNGP04.phx.gbl...
>>
"VJ" <no***********@yahoo.comwrote in message
news:eH**************@TK2MSFTNGP03.phx.gbl...
>>The below will do it..
[DllImport("user32")] private static extern bool HideCaret(IntPtr hWnd);
public void HideCaret()
{
HideCaret(TextBox1.Handle);
}
Thanks, but as far as I can tell, this has no effect. When should it be
done? Immediately after AppendText?