Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable/disable push button
Message
De
21/10/1996 20:06:20
 
 
À
21/10/1996 16:51:51
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00010674
Message ID:
00010687
Vues:
30
>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

Hi, Kim !
Put your code in the Read Level WHEN snippet.

Nelson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform