Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text pasted into an EditBox disappears
Message
From
02/02/1999 13:54:23
 
 
To
02/02/1999 13:52:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00183046
Message ID:
00183083
Views:
16
>>>>>>Here's a weird one. I have several edit boxes where this happens. I click in the box, press Ctrl-V to paste some text. The text appears in the box just fine. Then I leave the Edit box with the tab key or the mouse and the pasted text disappears. It doesn't happen when I enter the text with the keyboard or if there's already text in the field.
>>>>>>
>>>>>>The control is bound to a memo field in a view. There's no code in any of the edit box methods. Any ideas?
>>>>>>
>>>>>>Thanks,
>>>>>
>>>>>Is the view opened readonly?
>>>>
>>>>Nope. I can type text into it and it saves no problem. It's only when I paste text in. Thanks anyway.
>>>
>>>Josh, could you try this old trick: This.Value=This.Value in control.lostfocus event?
>>
>>Edward, just out of curiosity, will a THIS.REFRESH accomplish the same thing in this case?
>>
>As far as I remember it did not in similar situations for other controls (I have not tried for editbox at all). I guess that Refresh takes Controlsource and push it to Value, and This.Value=This.Value makes opposite.

Gotcha. Thanks.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform