Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the background Color of a cell in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00833872
Message ID:
00836849
Vues:
23
What is "ThisForm.grdPersonnel_c.ColActive.ChkActive.Value"? Is it a field in the grid record? How is it related to particular grid record?


>Sorry that I have taken so long to respond.
>
>The code that I am using in the dynamicbackcolor property is
>IIF(ThisForm.grdPersonnel_c.ColActive.ChkActive.Value,RGB(0,255,0) , RGB(255,0,0) )
>
>Bob
>
>>Not clear how it happend if you apply dynamicbackcolor to particular column only. Could you post the exact code line where you set dynamicbackcolor?
>>
>>>How do you dynamically change the back color of a CELL in a grid.
>>>
>>>I have a combo box in a different cell of the grid that, depending on the contents of the combo box, enables or disables access to other cells in that row.
>>>
>>>The txtbox.enable = .f. is working correctly for the cells that I want to limit access to but the user has no visual refrence that they cannot enter the cell. I would like to turn individal cells background colors gray (if disabled) or white (if enabled) When I try this in the dynamicbackcolor of the column it applies the change to the whole row and not the individual effected cell.
>>>
>>>Any help or ideas would be appriciated.
>>>
>>>Bob Kennedy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform