Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only