Erik,
I had always ASSUMED that an in-progress entry was actually kept aside at least until an attempt to leave the field was made. Therefore, I also ASSUMED that it was VFP that "took care" of this.
Interesting how we come up with various explanations that "fit" in the absence of facts.
Cheers,
Jim N
>Actually, this behavior occurs even without a controlsource.
>
>Tom, when you hit escape in a text box, it is the equivalent of hitting "Undo" in the edit menu, or CTRL+Z. IOW, I think the OS is handling this.
>
>
>>Hi Tom,
>>
>>I think what is happening when you press ESC within a textbox is that VFP is requerying the controlsource.
>>
>>
>>>The following message originated with a member of our FoxPro User's Group (MPCUG) in Madison, WI.
>>>
>>>When using a textbox, you can press during data entry and the original value returns. Where does it get stored? There seems to be no property in the object for it? I can't find it anywhere in memory with the debugger! Any clues how to access it? I personally have an OriginalValue in my textboxes, but since FoxPro can find the original value without any additional effort, I'd like to be able to use that also. Any help would be appreciated by me and my fellow programmers [where I work]. Thanks,
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement