Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I disable one row on a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00391037
Message ID:
00391094
Views:
14
>>>>Suppose I have a grid that's running off of a table. The grid displays 4 fields across from this table. When the third field is TRUE for particular line, I want this line of the grid to be disabled. How do I do this?
>>>
>>>Only the ActiveRow or all diplayed rows with the third field TRUE?
>>>
>>>Take a look at the Grid's DynamicCurrentControl property. It could be used to do what you want. It does cost some performance - The expression is evaluated for every row showing in the grid everytime the grid refreshs.
>>
>>It's a grid's column property. It's not per row but per column control. The usage of which is how to interchange controls in a column.
>
>The sentence: When the third field is TRUE for particular line, I want this line of the grid to be disabled.
>
>To me reads : When the third field (column) for a particular line (row) is TRUE I want to disable the line (row) of the grid disabled.
>
>Either way the DynamicCurrentControl property will do the trick.

How?
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform