I have a simple screen in FPW2.6. It has some startup code that computes numbers to memory variables. And then on the screen it either SAYs or GETs those values, along with a few labels. And it has a few buttons which respond to activities.
What's happening is one of the GETs is inputting a value, but on 32-bit Win7 machines, sometimes, when the user presses Enter to leave the data as it is, it resets the field contents to 0.00. Using TAB instead of Enter always leaves the value as it is.
Here's the code:
Several developers are at a loss to explain this behavior. Does anybody have any ideas to try?
Thank you in advance.
Best regards,
Rick C. Hodgin
What's happening is one of the GETs is inputting a value, but on 32-bit Win7 machines, sometimes, when the user presses Enter to leave the data as it is, it resets the field contents to 0.00. Using TAB instead of Enter always leaves the value as it is.
Here's the code:
Code:
@ 7.333,22.833 GET m_AMT ;
SIZE 0.944,14.333 ;
DEFAULT 0 ;
FONT "Times New Roman", 11 ;
STYLE "B" ;
PICTURE "999999.99" ;
WHEN _3k80qv6if() ;
COLOR ,RGB(,,,255,255,255)
* The WHEN code was added as an attempted fix:
FUNCTION _3k80qv6if && m_AMT WHEN
#REGION 1
RETURN .T.
Several developers are at a loss to explain this behavior. Does anybody have any ideas to try?
Thank you in advance.
Best regards,
Rick C. Hodgin