guanaco1
October 23rd, 2001, 12:14 PM
How can I set foreground color to a row in a datagrid? I need to set colors to certain rows when a condition is met.
Thanks in advance for your help.
Thanks in advance for your help.
|
Click to See Complete Forum and Search --> : Set color to datagrid row guanaco1 October 23rd, 2001, 12:14 PM How can I set foreground color to a row in a datagrid? I need to set colors to certain rows when a condition is met. Thanks in advance for your help. Iouri October 23rd, 2001, 12:24 PM That is how you can change color in msflexgrid Private Sub MSFlexGrid1_Entercell() MSFlexGrid1.CellBackColor = vbRed End Sub Private Sub MSFlexGrid1_Leavecell() MSFlexGrid1.CellBackColor = vbwhite End Sub Iouri Boutchkine iouri@hotsheet.com guanaco1 October 23rd, 2001, 12:29 PM Thanks Iouri, How about for a datagrid type grid? Thanks again. Iouri October 23rd, 2001, 12:31 PM I did not try. Check if DBGrid has such properies. Iouri Boutchkine iouri@hotsheet.com codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |