>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.