Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I disable one row on a grid?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00391037
Message ID:
00391094
Vues:
15
>>>>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."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform