Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>How can I programatically change the BackColor of a single cell? I will have an RGB combination, and the row I want will be currently selected, but not necessarily the column. I want to be able to change the BackColor of ColumnThisOne for the currently selected row.
If you have Sparse set to .T. for the column, you can simply change the BackColor of the column's Textbox. From another column, something like:
This.Parent.colTheOneYouWant.Text1.BackColor =
If you need Sparse set to .F., you'll have to play with DynamicBackColor for the column. But if you only want to change it for the current row, something based on RECNO() ought to do the trick.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement