Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field in a grid as a text
Message
 
 
To
30/11/2001 16:27:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588222
Message ID:
00588253
Views:
21
>Nadya,
>Where do you have the following code?
>
>if this.OldValue<>this.value
>   tableupdate(...)
>endif
>
>
>If you have above in the valid or lostfocus it should work.

In the LostFocus, but it doesn't work. LostFocus sometimes is being called, and sometimes it is not...

Also it show empty string in Debugger.
However, it might be related to the fact, that my Memo field is not updated regardless of my changes...

>
>>Hi everybody,
>>
>>I'm using Memofield in a grid, but I just use textbox (my own class) and not the editbox. So, it shows memo/Memo, and I can double click to see its content.
>>
>>Now, if memo changes, I'd like to update my view. I put this.OldValue = this.value in GotFocus() and
>>
>>if this.OldValue<>this.value
>>   tableupdate(...)
>>endif
>>
>>However, my GotFocus and LostFocus fire more times, than I thought, and as a result, it doesn't go to this if condition. How should I handle this problem?
>>
>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform