Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Refresh() Method in FoxPro 2.x?
Message
De
22/04/2004 13:54:18
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00897025
Message ID:
00897304
Vues:
13
Hi Cecil,

Check out the READ SHOW clause. It allows you to call a function when SHOW GETS is called. Here's what the help file says:

SHOW {expL3}

The SHOW clause is executed whenever SHOW GETS is issued. The value returned by a SHOW routine is ignored. A SHOW routine can be used to refresh @ ... SAYs or to enable or disable objects.


Another option might be to do a read-only @ GET (if that's possible) that would work with SHOW GETS.

>Is there a way to refresh an @ SAY in FoxPro 2.6a for DOS? If you are sitting on a screen menu (PRG program) adn you call another program, once you are done with the 2nd program, you revert back to the menu screen. If you are on that screen and you select a menu item called CHANGE COMPANY, which was also a screen program you had to select from before you got to the MENU screen, how would you update a GLOBAL variable in an @ SAY on your MENU SCREEN? With @ GETs, you do a SHOW GET, but how do you do this for an @ SAY?
>
>This would be easy in VFP, but is not so easy in FPDOS.
>
>Now, the real test is to determine if you know what I am talking about.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform