Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing pasted text in textbox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00683909
Message ID:
00684103
Views:
22
Hi,

Input mask is set to None. The only code is in the GotFocus event and it only has DODEFAULT().

All the pasted text disappears. The field size is more that enough to hold the pasted text (50 chars wide).

One thing I should mention is that after pasting, if I add a space at the end and tab out, the text remains. Then if I go back and delete the text then tab out and then go back again and paste the same thing as the first time, it works fine (the text does not disappear anymore).

HTH,
Arriyel

>Is there any InputMask set for the textbox? Do you have any code in LostFocus() or Valid()?
>
>Does all text disappear or a few last characters? This may be something to do with length of the ControlSource field.
>
>>Hi,
>>
>>We use the regular VFP6 textbox class for our data entry fields. We can paste text (Ctrl+C) to them but for some reason once you move out of it (loose focus) the text disappears.
>>
>>Any help is greatly appreciated.
>>
>>Thanks,
>>Arriyel
Speak using soft and sweet words in case you have to eat them later.
Previous
Reply
Map
View

Click here to load this message in the networking platform