Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabling Buttons in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00776847
Message ID:
00779341
Vues:
14
>Hi,
>
>I've got a grid with a button on each datarow. Based on a date field within the datarow, I want to enable or disable the button.
>
>How do I go about doing this? I put an check in the init event but it's only executed one time for the entire grid.
>
>Thanks,
>
>Dennis

Yuo could use two different approaches:
1. to "disable" Click event using Wehen event of the control
-- or --
2. To Place two buttons in the column: one that you need and another with Enabled = .F.
and to use DynamicCurrentControl
Venelina Jordanova

Outsourcing IT Services Ltd.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform