Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Just wanted to let you know that I registered today, and your site is fantastic. I found solutions to problems that I have been encountering for months!..."

Geography

Where in the world do Tek-Tips members come from?
foxmuldr3 (Programmer)
1 Aug 12 10:48
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:

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
foxmuldr3 (Programmer)
1 Aug 12 10:52
The screen works correctly on 64-bit Win7. And I have a virtual machine running 32-bit Win7 (on 64-bit Win7) that does work correctly on/under as well.

It's the sporadic nature that is causing the concern.

There is a hidden form at this time in execution which has a timer that fires 3 times per second. All of its variables are declared LOCAL, and it doesn't use any of the same named variables, tables, or anything. It is a background form which hides itself when other things are happening on the system, and when the system is otherwise idle, it brings itself back as a top-level "what to do" kind of form.

Best regards,
Rick C. Hodgin
foxmuldr3 (Programmer)
1 Aug 12 10:57
I guess I should say make it very clear that this issue is in VFP9. The screen works properly in 2.6. And it works properly in VFP9 on 64-bit Win7 machines. Only on 32-bit Win7 VFP9 does this issue exist, and even then only from time to time.

Best regards,
Rick C. Hodgin
OlafDoschke (Programmer)
1 Aug 12 12:26
Is everything else also the same? Are the same VFP9 runtimes installed, with the same SP version? And where?

Bye, Olaf.
foxmuldr3 (Programmer)
1 Aug 12 12:32
That's a good question. I had assumed so since the company I'm researching this for builds their own installer which is pushed out to several hundred clients. However, it might not be. Will check into that.

Best regards,
Rick C. Hodgin

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close