Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox won't allow editing beyond length of box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00028562
Message ID:
00028568
Vues:
39
>I have a textbox on a pageframe that contains a character string. If the string is longer than the width of the textbox I can't make the string longer than it was when the form was originally opened. When I get the the end of the original length the focus moves to the next control in the tab order. If I try to insert text in front or in the middle, the string is truncated at the original length.
>
>Is there a way around this behavior?
>
>This is in VFP 3.0b for Windows running under WFW 3.11.
>
>Rob Giorgi
>Robert.J.Giorgi@lmco.com

It's always helpful to use InputMask property. For example, in Textbox.Init event:
This.InputMask=replicate('x',30)
will guarantee 30-char long input.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform