>This.Value = left( This.Value, This.SelStart ); > + dtoc( date()) + chr(13); > + substr( This.Value, This.SelStart +1 ) >This presented some interesting ideas but I was unable to get it to respond to Ctrl+D in the keypress event (Alt+anything being listed as forbiden in the help text I used Ctrl+D instead). I am unsure what your
coding is for but if you used this code in another method / location please let me know.