Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Original Values with Escape -- where stored?
Message
From
14/10/1999 15:24:11
 
 
To
14/10/1999 14:50:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00276457
Message ID:
00276524
Views:
26
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform