Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid rows
Message
De
14/10/1998 21:10:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00146863
Message ID:
00146947
Vues:
22
Put two textboxes in the column, one enabled, and one disabled, and do what you want using the column's DynamicCurrentControl property.

>Sorry, that was a bit hasty. The first example will change the color in a specific cell in a column if the logical field for the row is true.
>
>However, this logic does not work with the enabled property. I have a grid where one of the columns needs to have the appropriate cells enabled or disabled according to the logical value in the table.
>Hope that is better.
>
>>What do you mean?
>>
>>>In a grid's init, why does this work:
>>>
>>>THIS.Column2.DynamicForeColor="IIF(table.logical,RGB(255,0,0),RGB(0,0,0))"
>>>(which is taken straight from the developer's guide)
>>>
>>>and this doesn't:
>>>
>>>THIS.Column2.Enabled=IIF(table.logical,.T.,.F.)
>>>
>>>Kevin Payne
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform