Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable/disable push button
Message
De
21/10/1996 16:51:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Enable/disable push button
Divers
Thread ID:
00010674
Message ID:
00010674
Vues:
91
I have been unable to determine where and how to enable/disable push buttons on a screen.

I have a program which has:
DO myscreen.spr

On the screen myscreen several push buttons need to be enabled depending upon whether some records exist.

I've tried this code:
SELECT TCursor
IF RECCOUNT() > 0
SHOW GET mButton ENABLE
ENDIF

in several places including,
before the DO myscreen.spr
after the DO myscreen.spr

in myscreen.spr Seup snippet,

but none works.

Kim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform