Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MaxLength and EditBoxes Probable Bug?
Message
De
10/04/2003 14:29:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
MaxLength and EditBoxes Probable Bug?
Divers
Thread ID:
00776258
Message ID:
00776258
Vues:
88
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
Fil
Voir

Click here to load this message in the networking platform