I am using the common technique of setting the DynamicBackColor and DynamicForeColor properties of all columns to highlight a row in a grid. I would like the color of the row to match the Windows Display Properties. I thought about adding a textbox as a property to the grid at runtime and getting the SelectedForeColor and SelectedBackColor properties from it. Is there a better way to do this, perhaps one that uses fewer clock cycles? I don't want to depend on a certain control being in a column.
I noticed a different method mentioned on the ProFox list that uses a textbox to simulate highlighting the row instead of Dynamic color properties, but the download at leafe.com was corrupted. If someone wouldn't mind emailing this to me (
jleach@mbs-intl.com), maybe I can kill two birds with one stone. Thanks.