Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converted 2.6 app loses variables between screens
Message
From
11/08/1998 09:24:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/08/1998 15:12:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00125392
Message ID:
00125546
Views:
16
>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 and cancel. 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.

Just check upstream in your code - seems to be that m.editing was a public variable, and it's scoped differently now. Also, maybe you should explicitly call mainform.refresh from mainform.activate (don't know what kind of conversion was done, though). It either doesn't see the changed value of m.editing, or it doesn't refresh on time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform