Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CommandButton in Grid
Message
 
 
À
25/08/2003 14:29:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00823146
Message ID:
00823268
Vues:
19
Hi Ken,

>How do you setup a command button in a grid so that either:
>1) The caption changes to the value of the ControlSource of the column

>2) The Enabled property of the command button is based on a value in the ControlSource of the column.

Add two buttons to the column: btnDisabled with Enabled = .F. and btnEnabled. Put into columns DynamicCurrentControl = [IIF(< condition >, "btnDisabled", "btnEnabled")]
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform