Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing variable between screens (forms)
Message
From
21/08/1998 16:32:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Losing variable between screens (forms)
Miscellaneous
Thread ID:
00128931
Message ID:
00128931
Views:
58
WHERE do I put WHAT to get the main screen to reflect changes in my "editing" variable so that it will enable the Save and Cancel buttons? I've tried putting "show get msavit" and "show get mcancel" (and even a general "show gets") in several different places like the ReadActivate Event and ReadShow Event of the main screen (form) and in the Unload Event and Read Deactivate of the "child" screen (form) . What is the Problem? Original explanation is below:

Converted 2.6 app (which runs very well in 2.6) has several screens that work well together. Have main screen with menu options that bring up more information (more screens) regarding a product. If a change is made on one of the 'child' screens have a variable 'editing=.t.' then when the user leaves that screen, the main screen disables most of the command buttons except the save (savit) and cancel (mcancel). Since converting to Visual 5.0, if a change is made, upon returning to the main screen, it doesn't see that editing = .t. and does not disable the buttons or offer the enabled 'save' and 'cancel' buttons.
"Live Well, Laugh Often, Love Much..."
Next
Reply
Map
View

Click here to load this message in the networking platform