I checked to be sure, but if this is a Windows editbox limit and espacially at 4096, why window report an error whereas the lenght of the line here is only 4000 + the lenght of the variable name (< 4096 i think) ? The other thing i noticed is that the editbox display correctly the 4000 char, even if it's on three line.