Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable button on screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01006243
Message ID:
01006251
Vues:
14
>This is a simplified example.
>
>I have a screen that displays the data from table1. There is a NEXT button on the screen that advances to the next record in table1. There is also a LOOKUP button that I want to disable and not allow to click based on the value of table1.region. If the region = '1' want to enable, otherwise disable. I know this should be easy, but it has been awhile since I have coded and this is taking me way to long.
>
>Thanks
>
>Brenda

May be in click event on NEXT button after the SKIP in table1
thisform.LookUp_button.enabled = IIF(table1.region = '1',.T.,.F.)
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform