Hi!
I wondered, because it should work for the entire grid EXCEPT the curent row :)
Try to set also BackColor for controls inside of each column.
>Hi Vlad,
>
>Thanks for the response. Your suggestions works for the active row. Is there any way to have all rows/columns pick up the background color, whether active or not? I am trying to get rid of all of the "white space."
>
>Thanks,
>
>TFISHER
>
>>Hi!
>>
>>Actually, you do not require "DynamicBackColor" just to set a background color of grid. Just use "Grid.BackColor = thisform.BackColor" in the Init method of the grid and this will set up all columns to required color. If your grid reconstructs self because change of the record source in run-time, assure columns do not lose back color again.
>>
>>Grid could not be transparent, and this is pity - no way to display image as background of grid with acceptable performance...
>>
>>>Hi Jaime,
>>>
>>>Thanks for the suggestion. I tried, but had no success.
>>>
>>>Thanks,
>>>
>>>TFISHER
>>>>Terry
>>>>Try something like
>>>>This.SetAll( "DynamicBackColor", ThisForm.BackColor, "Column" )
>>>>in your Grid's refresh...
>>>>
>>>>Jaime
>>>>
>>>>>Hello,
>>>>>
>>>>>I have a form with several textboxes, combos, and a grid. I have set all of the textboxes to BackStyle = Transparent. This gives me the consistent background color look I want for the form.
>>>>>
>>>>>Unfortunately, GRIDS and COMBOs do not have a BackStyle property that I can find. How do I get the GRIDS and COMBOs to have the same BackStyle color as the rest of the form. Right now, they are white and it really is not what I want.
>>>>>
>>>>>Thanks,
>>>>>
>>>>>TFISHER
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.