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:
00776858
Views:
21
I'm trying something like this in the dynamiccurrentcontrol property but not getting a control displayed...

=iif(between(date(),startdate,enddate),btnEnabled, btnDisabled)

Does this look correct?

Tks!

>Dennis,
>
>You can add second disabled button and use DynamicCurrentControl Property of the column to switch between them based on condition.


>>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,
>
Previous
Reply
Map
View

Click here to load this message in the networking platform