Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Cell in Grid
Message
 
To
21/09/2001 12:46:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00559345
Message ID:
00559352
Views:
13
Sandi,
use the WHEN method in the button. Create a new form property. Have your valid set it to true or false and have the WHEN return that value. If you need to do this on a line by line basis then put a logical field in your cursor or table and use it in place of the form property.
John.

>Does anyone know how to programmatically disable a cell in a grid? I have a grid which has one column that contains a button (to open a form containing a set of details about that record). I want to put code into another column's valid event to enable/disable this button depending on the value of the controlsource.
>
>Thanks for the help
>
>Sandi Cassidy
>scassidy@canaccount.com
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform