Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox won't allow editing beyond length of box
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00028562
Message ID:
00028568
Views:
41
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform