Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
MaxLength and EditBoxes Probable Bug?
Anyone seen this behavior?
In vfp 8 I take an edit box and set the maxlength=4000
then I take some text with a cariage return in it like.
"TEST
TEST
TEST
"
Then I proceed to paste it into the editbox until it wont allow me anymore. At this point I just hold any key down until the editbox stops me.
If I tab out and check the length then it will be over 4000. (varies but from 4050-4150)
In vfp7 this does not happen but if the vary last character is a carriage return then it will go to 4001.
I'm gonna try to do something in the interactive change but it sucks these properties dont work..
Perhaps the enter chariage return line feed is counted as one when it should be two? CHR(10)+CHR(13)
BR
Tim
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement