Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling Buttons in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00776847
Message ID:
00779341
Views:
15
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform