Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running .sprs in VFP7/8 screen refresh/redraw issue
Message
From
14/02/2003 16:56:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Running .sprs in VFP7/8 screen refresh/redraw issue
Miscellaneous
Thread ID:
00753511
Message ID:
00753511
Views:
49
I have a couple of screens that have not been converted to VFP7/8 yet and when the .spr is run, the screen is painted slowly during runtime. I have tested putting a

#IF 'VISUAL' $ UPPER(VERSION())
_screen.lockscreen=.T.
#ENDIF

in the top of section 1 before the @..SAY etc and then immediately before the READ statement adding a

#IF 'VISUAL' $ UPPER(VERSION())
_screen.lockscreen=.F.
#ENDIF

This works, however, I cannot figure out how to get it into the .spr in the correct location by editing using the modi screen functionality in FPD26. I do not want to edit the .spr manually evertime I rebuild the app and regenerate the app's .sprs. Where to put the code so it goes into the .spr in the correct locations?

Appreciate any ideas...
TIA,
Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform