Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Refresh() Method in FoxPro 2.x?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00897025
Message ID:
00903075
Views:
15
>Thanks, but there is no refresh checkbox, since this is a FoxPro for DOS PRG, which with its @ SAYS and @ GETS forms a screen. So, what if I type in SHOW GETS OFF right after my Global Variable for an @ SAY has changed? What will that do?

Since you are running a PRG you need to imitate what FPW2.6 does....

Change the READ command to include a SHOW clause eg...

@ 1, 2 SAY MyField
READ CYCLE NOLOCK SHOW MyShow()


then add...
PROCEDURE MyShow
STORE WOUTPUT() TO currwind
IF SYS(2016) = MyScreenName OR SYS(2016) = "*"
ACTIVATE WINDOW names SAME NOSHOW
@ 1,2 SAY MyField
ACTIVATE WINDOW (m.currwind) SAME
ENDIF


to the prg

Now you can do a SHOW GETS OFF if Myfield changes!
Previous
Reply
Map
View

Click here to load this message in the networking platform